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)
 SQL Server - Change Identity Seed value dynamically

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-12-05 : 07:27:09
Mani writes "Can we change identity Column seed value dynamically using variable in SQL Server?"

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2006-12-05 : 07:33:48
Read about DBCC CHECKIDENT in BOL.

Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-12-05 : 10:35:50
quote:
Originally posted by AskSQLTeam

Mani writes "Can we change identity Column seed value dynamically using variable in SQL Server?"

Yes. But why do you want to do it dynamically?

Madhivanan

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

- Advertisement -