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)
 DBCC command

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-07-10 : 08:54:59
Shefali writes "Hi,

I have a table with a few records, say 10.
I add a couple of more records while testing. Now the count is 15. When the testing is done, I delete the last 5 records.

Now I want to add a record at the 11th position not at the 16th as it does.

Could you tell me how to reset the count of records back in order? I happen to know that it can be done using DBCC. that's it.



Regards."

graz
Chief SQLTeam Crack Dealer

4149 Posts

Posted - 2002-07-10 : 08:54:59
Well, I assume your using IDENTITY columns even though you never say. This article should help you: http://www.sqlteam.com/item.asp?ItemID=8003
Go to Top of Page
   

- Advertisement -