Re: Batch Delete - Del 3, Events with no Samples
Hi,
Trying to run Batch Delete Del 3, Events with no Samples and I’m getting the following error:
(0 row(s) affected)
Msg 547, Level 16, State 0, Line 31
The DELETE statement conflicted with the REFERENCE constraint "FK_SAMPLE_RECORDER_SURVEY_EVENT_RECORDER". The conflict occurred in database "nbndata", table "dbo.SAMPLE_RECORDER", column 'SE_RECORDER_KEY'.
The statement has been terminated.
(0 row(s) affected)
Msg 547, Level 16, State 0, Line 49
The DELETE statement conflicted with the REFERENCE constraint "FK_SURVEY_EVENT_RECORDER_SURVEY_EVENT". The conflict occurred in database "nbndata", table "dbo.SURVEY_EVENT_RECORDER", column 'SURVEY_EVENT_KEY'.
The statement has been terminated.
(1 row(s) affected)
Some of the Events in question have no Event Recorder so that might be the problem, but any help would be welcome.
Cheers, Dave