DBCC CHECKIDENT (namatable, RESEED, nomoridentity)
contohnya jika kita punya tableA, kita ingin ketika melakukan INSERT, nomor identity menjadi nomor 1
DBCC CHECKIDENT (tableA, RESEED, 0)
little inspirations
DBCC CHECKIDENT (namatable, RESEED, nomoridentity)
DBCC CHECKIDENT (tableA, RESEED, 0)
No comments:
Post a Comment