Re: How to grant read/write permission to a user using query analyzer

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Sue Hoegemeier (Sue_H_at_nomail.please)
Date: 09/28/04


Date: Tue, 28 Sep 2004 16:06:06 -0600

Do you want to add the user to the db_datareader and db_datawriter
database roles? To do that, you can execute sp_addrolemember in Query
Analyzer, e.g.
EXEC sp_addrolemember 'db_datareader', 'SomeUser'

You can find more information in books online under sp_addrolemember.

-Sue

On Tue, 28 Sep 2004 14:44:30 -0700, "harry" <hcokoli@yahoo.com> wrote:

>All,
>
>I will like to know how to grant a user both read/write
>permission using query analyzer and not through enterprise
>manager.


Quantcast