Technical Article

Clear all the data from tables

,

Run the script until the any error message does not come.

EXECUTE sp_msforeachtable 'delete from ?'
EXECUTE sp_msforeachtable 'print "?" dbcc checkident ("?", RESEED, 1)'

Rate

3 (2)

You rated this post out of 5. Change rating

Share

Share

Rate

3 (2)

You rated this post out of 5. Change rating