sql server - Grant Create/Alter/Drop Function/Procedure, not Tables -
i'm looking create database role within database allows developer members of role ability create/alter/drop procedures , functions. not want them able create/alter/drop tables though, managed different team.
i found grant create procedure/table/function
, i'm not able allow them alter/drop procedures/functions well.
i have tried:
create role developer grant view definition on database::mydb developer grant alter on database::mydb developer -- above allows modification of procedures/functions, tables deny create table on database::mydb developer -- above denies create table, can still alter/drop tables, want prevent
Comments
Post a Comment