Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 2.03 KB

File metadata and controls

51 lines (38 loc) · 2.03 KB
title sp_update_jobschedule (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 03/14/2017
ms.prod sql
ms.prod_service database-engine
ms.reviewer
ms.technology system-objects
ms.topic language-reference
f1_keywords
sp_update_jobschedule_TSQL
sp_update_jobschedule
dev_langs
TSQL
helpviewer_keywords
sp_update_jobschedule
ms.assetid 4df02594-4cd1-49a9-8d97-37c44e4d5423
author stevestein
ms.author sstein

sp_update_jobschedule (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md]

Changes the schedule settings for the specified job.

sp_update_jobschedule is provided for backward compatibility only.

Important

For more information about syntax used in earlier versions of Microsoft SQL Server, see the Transact-SQL Referencefor Microsoft SQL Server 2000*.*

Remarks

Job schedules can now be managed independently of jobs. To update a schedule, use sp_update_schedule.

Permissions

By default, members of the sysadmin fixed server role can execute this stored procedure. Other users must be granted one of the following [!INCLUDEssNoVersion] Agent fixed database roles in the msdb database:

  • SQLAgentUserRole

  • SQLAgentReaderRole

  • SQLAgentOperatorRole

For details about the permissions of these roles, see SQL Server Agent Fixed Database Roles.

Only members of sysadmin can use this stored procedure to update job schedules that are owned by other users.

See Also

SQL Server Agent Stored Procedures (Transact-SQL)
sp_update_schedule (Transact-SQL)