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 checkident

Author  Topic 

kakikupart
Starting Member

11 Posts

Posted - 2009-11-23 : 07:45:45
Can anyone help me ...
Is there any other way to put the query statement in dbcc checkident for getting the value.For example i manually put 123 after i select from specified table

dbcc checkident (SALESORDER_SEQ, reseed, 123)


Your help appreciated,
Dwen

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-11-23 : 10:26:49
I'm confused by your post, but perhaps you want SCOPE_IDENTITY() or @@IDENTITY.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -