sp_droptask (T-SQL)

sp_droptask is provided for backward compatibility only. For information about the Microsoft SQL® Server™ version 7.0 replacement procedures, see SQL Server Backward Compatibility Details.

Removes a scheduled task.


Important For information about syntax used in earlier versions of SQL Server, see the Microsoft SQL Server Transact-SQL Reference for version 6.x.


Remarks

If you create a task by using sp_addtask, that task must be deleted only by using sp_droptask. For task management, use SQL Server Enterprise Manager.

Permissions

Execute permissions default to the public role.

See Also
sp_addtask sp_updatetask
sp_helptask System Stored Procedures
sp_purgehistory  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.