Click here to monitor SSC
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)

All Object Security Grant

By MARC CALLAHAN,

-- PROCEDURE GRANTS PERMISSION TO A GIVEN SQL USER
-- TO ALL OBJECTS WITHIN A GIVEN CATALOG CONTEXT
-- STORED PROCEDURES, VIEWS, TABLES, SELECT FUNCTIONS, EXECUTE FUNCTIONS
-- MODIFY AS REQUESTED

-- SAMPLE EXECUTE
-- EXECUTE sp_All_Object_Security_Grant 'WUA'

Total article views: 164 | Views in the last 30 days: 1
 
Related Articles
FORUM

Execute SSiS package

Execute

FORUM

Execution plan

Execution plan

FORUM

execute permission

execute permission

FORUM

execution plan

execution plan

FORUM

execution plan

execution plan

Tags
 
Contribute