Last active
September 3, 2018 17:35
-
-
Save marcelodeandrade/93aad19c9d6bedc2feee7fcb2a011d48 to your computer and use it in GitHub Desktop.
Truncate table with FK's
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM database.dbo.table | |
DBCC CHECKIDENT ('database.dbo.table', RESEED, 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment