SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Granting permissions to multiple objects

By kenkaufman,

I came across a situation where I needed to fix a vendors permissions issue.  It required changing permissions on 338 views and tables, and leaving only 5 intact.  Below is the Script I used to perform this task.

Total article views: 113 | Views in the last 30 days: 1