Truncate Table with Foreign key constraint

Cannot truncate table 'table' because it is being referenced by a FOREIGN KEY constraint.

Solution for the above issue is below:
Delete from <tablename>
DBCC CHECKIDENT(
<tablename>,RESEED,0)

 
Designed and Maintained by