Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blocking Table Access in SQL Server

Status
Not open for further replies.

coolmoe

IS-IT--Management
Sep 9, 2002
8
US
Currently, I am going through our 500 tables or so one by one in the permissions area for each user and 'x' out the 'select' column for each table. This is time consuming. How do I do it with script or code?
 
coolmoe,

why not just add the user(s) to the db_denydatareader role ?




Glyndwr
 
Because I not sure of the capability of denydatareader role and they do need to access a couple of tables.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top