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_insert

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-02-27 : 12:13:56
Anna writes "how can I get the present value of identity_insert of a perticular table in SQL 2000"

JoeNak
Constraint Violating Yak Guru

292 Posts

Posted - 2006-02-27 : 13:32:05
DBCC CHECKIDENT('table', NORESEED)
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-02-28 : 01:24:04
or

Select IDENT_CURRENT('tableName')


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -