Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to: Alter Table
Message
De
19/01/2000 08:29:09
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Titre:
How to: Alter Table
Divers
Thread ID:
00319795
Message ID:
00319795
Vues:
50
Hi,

I want to add a DEFAULT constraint to an existing table/field. What is the syntax?

"alter table mytable alter column myfield int null" works great but ...
"alter table mytable alter column myfield int null default null" gives me an error?!?

So - how do I add the default?

Thanks,
Ken
Ken B. Matson
GCom2 Solutions
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform