Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to truncate foreign key constraint table


DELETE FROM [TableName]
DBCC CHECKIDENT ([TableName], RESEED, 0)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #truncate #foreign #key #constraint #table
ADD COMMENT
Topic
Name
1+3 =