How to truncate table which is being referenced by a FOREIGN KEY constraint?
DELETE FROM [table name];
DBCC CHECKIDENT([table name],RESEED,0);
DBCC CHECKIDENT([table name],RESEED,0);
Sign up to receive breaking news
as well as receive other site updates!
No comments: