Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Identity Column (gaps Problem after records are deleted)

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-06-18 : 13:05:36
Puran writes "Hello Sir,
I am using Identity Column in my table. I am facing a problem gaps in Identity Number. For example Let I have 50 record in my table last record having identity number 50. Now I delete all records and Insert a new record. The inserted record get Identity Number 51 instead of 1. I need that after delete Identity Number should start with 1.
Please tell me if is is possible witout droping and recreating the table.
Thanks"
   

- Advertisement -