October 15, 2011 at 1:17 am
hi,
i create 2user(A,B) this 2user having permission to access (C_db)
this C_db having 50 tables..
now my A user can access only 25 tables,B user can Access next 25 tables..
so i gave REVOKE SELECT ON <TABLE_NAME> FROM<USER_NAME>
for all the tables correspondingly
but now i connect with user A..that user will access that revoke select table also..
so how to do revoke select in sql server 2008..
October 15, 2011 at 1:48 am
Anand.A (10/15/2011)
hi,i create 2user(A,B) this 2user having permission to access (C_db)
this C_db having 50 tables..
now my A user can access only 25 tables,B user can Access next 25 tables..
so i gave REVOKE SELECT ON <TABLE_NAME> FROM<USER_NAME>
for all the tables correspondingly
but now i connect with user A..that user will access that revoke select table also..
so how to do revoke select in sql server 2008..
Duplicate Post. Please don't create multiple threads.
table access in sql server 2008
http://www.sqlservercentral.com/Forums/Topic1189660-391-1.aspx#bm1189707
October 15, 2011 at 4:23 am
Strictly speaking not Duplicate post, but similar topic. Unneccessary quoting is a bad habit too...
As for the question: revoke removes the acl entry specified, whether it is a grant or a deny. Use deny to ovveride inherited grant permission.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply