‎10-02-2013 06:48 PM
Solved! Go to Solution.
‎10-31-2013 08:53 PM
truncate table [tblNtlog]
GO
ALTER TABLE [tblNtlog] DROP CONSTRAINT [FK_tblntlog_tblntlogmessage]
GO
truncate table tblntlogmessage
GO
ALTER TABLE [tblNtlog] WITH NOCHECK ADD CONSTRAINT [FK_tblntlog_tblntlogmessage] FOREIGN KEY([MessageID])
REFERENCES [tblNtlogMessage] ([MessageID])
NOT FOR REPLICATION
GO
ALTER TABLE [tblNtlog] CHECK CONSTRAINT [FK_tblntlog_tblntlogmessage]
GO
‎11-01-2013 11:57 PM
‎10-31-2013 08:53 PM
truncate table [tblNtlog]
GO
ALTER TABLE [tblNtlog] DROP CONSTRAINT [FK_tblntlog_tblntlogmessage]
GO
truncate table tblntlogmessage
GO
ALTER TABLE [tblNtlog] WITH NOCHECK ADD CONSTRAINT [FK_tblntlog_tblntlogmessage] FOREIGN KEY([MessageID])
REFERENCES [tblNtlogMessage] ([MessageID])
NOT FOR REPLICATION
GO
ALTER TABLE [tblNtlog] CHECK CONSTRAINT [FK_tblntlog_tblntlogmessage]
GO
‎10-31-2013 06:34 PM
‎10-30-2013 07:10 PM
‎10-30-2013 11:02 AM
DELETE FROM [tblNtlog]
GO
ALTER TABLE [tblNtlog] DROP CONSTRAINT [FK_tblntlog_tblntlogmessage]
GO
DELETE FROM [tblntlogmessage]
GO
ALTER TABLE [tblNtlog] ADD CONSTRAINT [FK_tblntlog_tblntlogmessage] FOREIGN KEY([MessageID]) REFERENCES [tblNtlogMessage] ([MessageID])
GO
‎10-30-2013 07:53 AM
‎10-02-2013 06:56 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now