Link to home
Start Free TrialLog in
Avatar of marrowyung
marrowyung

asked on

permission to read SQL server job content and script that out

Dear all,

What should be the permission I need to script out SQL server SP and SQL job? I need to backup sth I wrote for SQL server ? script/SP, etc..
Avatar of Systech Admin
Systech Admin
Flag of India image

you will need to add the users to SQLAgentOperatorRole. For more information please refer below link

https://technet.microsoft.com/en-us/library/ms188283(v=sql.110).aspx
Avatar of marrowyung
marrowyung

ASKER

so this one can allow me to script out any SP and jobs I want so that I can keep a backup ?
so if the SP in master DB can I also script that out by this permission ?
ASKER CERTIFIED SOLUTION
Avatar of Systech Admin
Systech Admin
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"and also  you can add the user to sysadmin role"

so without this I can't do what ?
You can do that without that also
so just this role SQLAgentOperatorRole is enough ? so why I need the sysadmin role, or I have someone to generate it for me ?
no just go ahead with SQLAgentoperator role that will work, no need of sysadmin role