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 Administration (2000)
 Condense Identity Field

Author  Topic 

ckuo@kahluadesigns.com
Yak Posting Veteran

58 Posts

Posted - 2003-09-23 : 16:49:42
Hi,
I've got an Identity field for a table and it autoincrements 1. Say the max number of an acutal row is 100. and say that i accidentally created 10,000 rows but then i deleted them. so, how do i get it so that the next row inserted starts at 101. Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-09-23 : 17:17:06
Take a look at DBCC CHECKIDENT in SQL Server Books Online.

Tara
Go to Top of Page
   

- Advertisement -