Saturday, June 22, 2013

[T-SQL] Can you script role permissions

[T-SQL] Can you script role permissions


Can you script role permissions

Posted: 21 Jun 2013 01:54 AM PDT

Can you create a SQL statement (that will end up in a stored Proc) that sets all of our custom views ('zvw%') with Insert, Select, Update access.. for a given role?Trying not to have to go in and add new views and tables.. everytime a someone forgets to add their new view/table to the correct roles.

No comments:

Post a Comment

Search This Blog