Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 Old Forums
 CLOSED - General SQL Server
 Altering an Identity Column
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ask SQLTeam Question

0 Posts

Posted - 05/02/2005 :  07:29:39  Show Profile  Visit AskSQLTeam's Homepage
Gomathi writes "I have created a table with identity column now i want to change the Idenity Column to a non-identity column(or vice versa). It is possible or not?"

Flowing Fount of Yak Knowledge

6065 Posts

Posted - 05/02/2005 :  11:33:11  Show Profile
I don't think you can use ALTER TABLE ALTER COLUMN to change the identity property (either adding or removing). As far as I know you'd have to drop and re-create the column (or the whole table). And of couse deal with dropping and re-establishing any referential integrety and saving off existing data that you want to preserve.

Be One with the Optimizer
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000