User runs SQL script Merge_Domains_Statistic_Repostory gets error:
Msg 547, Level 16, State 0, Line 319
The DELETE statement conflicted with the REFERENCE constraint "FK_spotlight_perfdata_spotlight_monitored_objects". The conflict occurred in database "SpotlightStatisticsRepository", table "dbo.spotlight_perfdata", column 'monitored_object_id'.
The statement has been terminated.
Delete old domain
Msg 547, Level 16, State 0, Line 331
The DELETE statement conflicted with the REFERENCE constraint "FK_spotlight_monitored_objects_spotlight_domains". The conflict occurred in database "SpotlightStatisticsRepository", table "dbo.spotlight_monitored_objects", column 'domain_id'.
The statement has been terminated.
Msg 3903, Level 16, State 1, Line 336
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION.
Msg 3902, Level 16, State 1, Line 340
The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.
Merge of domains completed successfully
Msg 50000, Level 18, State 1, Line 325
Deleting monitored objects failed (see previous messages for details)
Msg 50000, Level 18, State 1, Line 337
Deleting old domain failed (see previous messages for details)