How to truncate all data from all the tables in the sql server database

truncate all data from all the tables in the sql server database

Solution

EXEC sp_MSforeachtable @command1 = “TRUNCATE TABLE ?”

About the Author

avatar