Balajiprasad's useful codes
Important codings & concepts in web & window applications using microsoft technologies.
Wednesday, December 14, 2011
How To Reset Identity column in SQL Server
The following line resets the Identity value for the table to 0 so that the next record added starts at 1.
DBCC
CHECKIDENT
(
'table_name'
,
RESEED
,
0
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment