Another Instance_Del FK violation #957
Labels
Completed
DEV work completed. To be included in next release if issue is still open.
defect
Something is off and needs to be addressed
Repository DB
Database Project
Msg 547, Level 16, State 0, Procedure dbo.Instance_Del, Line 435 [Batch Start Line 24]
The DELETE statement conflicted with the REFERENCE constraint "FK_RunningJobs_Instances". The conflict occurred in database "DBADashDB", table "dbo.RunningJobs", column 'InstanceID'.
We have a largish SQL estate (450+) with many different versions of SQL (2008R2 - 2022)
Occurred on an unpatched 2008R2 that would get memory dumps and stop the SQL service. Instance has been shut down for good and put out of its misery, but managed to leave behind a zombie row in the RunningJobs table!
Hope you don't mind us putting DBA Dash through its paces!
The text was updated successfully, but these errors were encountered: