This article explains how to create a SQL Server Agent job using SQL Server Management Studio (SSMS), Transact-SQL (T-SQL), or SQL Server Management Objects (SMO).
To add job steps, schedules, alerts, and notifications that can be sent to operators, see the links to topics in the See Also section.
Prerequisites
User must be a member of SQL Server Agent fixed database roles or the sysadmin role.
Only job owners or members of sysadmin can modify jobs.
Assigning a job to another login does not guarantee sufficient permissions to run the job.
Security Considerations
Only sysadmin can change the job owner.
Sysadmin can assign job ownership to other users and run any job.
Jobs with steps requiring proxy accounts need to ensure the new owner has access to those proxies, or the job will fail.
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.