Link to home
Avatar of Jabal_Awliya
Jabal_Awliya

asked on

SQL Server Persmission to create a stored proc but not DML rights

As a SQL Server DBA, can I provide a user with rights to exclusively create stored procedures and alter them, but not DML rights (update insert, delete)?

If yes, can you please give me a general tip on what to do or look up?

(I was advised that by design only an Admin can create objects. I suspect this isn't true.)

Thanks so much!
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Alternatively you can use DDL triggers to control the objects creation/alteration and rollback the operation if the user shouldn't create the object.