fjtello / SQL-C-sharp

Common programming and coding tips and howtos
0 stars 0 forks source link

SQL syntax [#reseed #truncate] #10

Open fjtello opened 7 years ago

fjtello commented 7 years ago

DBCC CHECKIDENT (tabla1, RESEED, seed_value); <-- reseed

TRUNCATE TABLE tabla1; <-- reseed + delete