Script Grant Select for all Views
/*This generates scripts to Grant Select on all views to a user %USER% */ SELECT 'GRANT SELECT ON ' + TABLE_NAME + ' TO %USER%' FROM INFORMATION_SCHEMA.Views
/*This generates scripts to Grant Select on all views to a user %USER% */ SELECT 'GRANT SELECT ON ' + TABLE_NAME + ' TO %USER%' FROM INFORMATION_SCHEMA.Views
Comments
0 B
|👍
/👎
0 B
|👍
/👎