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)
 Changing identity of a column

Author  Topic 

ayamas
Aged Yak Warrior

552 Posts

Posted - 2006-06-13 : 01:06:51
Hi guys
I was just wondering is there a way by which to change the identity of a column using alter command.
Thanks in advance

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-06-13 : 01:54:47
identity like name of the column? if yes, use sp_rename

--------------------
keeping it simple...
Go to Top of Page

cmdr_skywalker
Posting Yak Master

159 Posts

Posted - 2006-06-13 : 23:39:04
to change the attribute property to identity, use alter table.
to rename the column, use sp_rename

May the Almighty God bless us all!
Go to Top of Page
   

- Advertisement -