Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove IDENTITY programaticly?
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01042858
Message ID:
01042861
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>Is there any chance to remove IDENTITY of the column definition programaticly?
>I checked BOL but there is no such an option in ALTER TABLE.
>I tryed ALTER TABLE MyTable ALTER COLUMN ... Int w/o any success.

There's no simple way to remove IDENTITY property of a column. See http://www.windowsitpro.com/Article/ArticleID/22081/22081.html. You can also do it the way Em does, similar to Re: Changing a column to IDENTITY Message #858045.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform