ITeedOff
asked on
can't drop sql job
I ma unable to delete an SQL maintenance job (SQL 2005). Error is The DELETE statement conflicted with the REFERENCE constraint "FK_subplan_job_id". The conflict occurred in database "msdb", table "dbo.sysmaintplan_subplans ", column 'job_id'.
The statement has been terminated. (.Net SqlClient Data Provider)
The statement has been terminated. (.Net SqlClient Data Provider)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I do not understand the use msdb. Where do I access this?
My suggestion is for you to drop the constraint "FK_subplan_job_id" first before you delete the job.