Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot define PRIMARY KEY constraint on nullable column
Message
De
07/02/2004 11:51:04
 
 
À
07/02/2004 09:38:23
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00875129
Message ID:
00875176
Vues:
17
>I want to create a primary key but the column is nullable how do I remove the nullable property programmatically.
>TIA
>Stuart

Something Like:

ALTER TABLE MyTable ALTER COLUMN MyColumn int NOT NULL

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform