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
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 How Can Give a User permission only to Table?

Author  Topic 

jooorj
Posting Yak Master

126 Posts

Posted - 2011-12-11 : 06:02:06
How Can I Give a User permission only to Table?
1-ISERT
2-DELETE

sunitabeck
Master Smack Fu Yak Hacker

5155 Posts

Posted - 2011-12-11 : 09:36:55
[code]GRANT INSERT,DELETE ON dbo.YourTable TO theUser;[/code]If you want to allow the user to selectively delete (i.e., use a where clause in the delete, then you will need to grant SELECT permission also to the user.
Go to Top of Page

jooorj
Posting Yak Master

126 Posts

Posted - 2011-12-12 : 05:43:35
Thank you , OKK
It works :)
Go to Top of Page
   

- Advertisement -