Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 how to give only select permision

Author  Topic 

boreddy
Posting Yak Master

172 Posts

Posted - 2011-03-31 : 12:32:54
how to give only select permision for the window authontication use

robvolk
Most Valuable Yak

15732 Posts

Posted - 2011-03-31 : 12:44:12
DENY UPDATE, INSERT, DELETE ON myTable TO [DOMAIN\UserName]

You can run that for each table, or use this:

EXEC sp_addrolemember 'db_denydatawriter', 'DOMAIN\UserName'
Go to Top of Page
   

- Advertisement -