-- Delete job.
USE msdb
EXEC sp_delete_job @job_name = N'snRebuildIndexes'