Over the next few days we are going to start the migration to a new forum application. I'm going to start with high post count and active users. You may receive an invitation to the new forums. It's not spam. It's just me trying to seed the user base. My goal is to open it up over the weekend.

Once we open the site we'll block registrations here. We should be open shortly on the new site.

SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
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.59 seconds. Powered By: Snitz Forums 2000