Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Values
Message
De
11/10/2005 05:21:07
 
 
À
11/10/2005 04:59:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01057391
Message ID:
01057885
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>Hi Borislav,
>
>I tried to execute the sample that you gave in Query Analyzer and it gave an error message:
>
>Server: Msg 156, Level 15, State 1, Line 1
>Incorrect syntax near the keyword 'DEFAULT'.
>
>any idea?


Mike,
Because you post your question in VFP forum I decide you want the VFP syntax :-)
Here for SQL Server:
ALTER TABLE Customer ADD CONSTRAINT [DF_Customer_Flag] DEFAULT (1) FOR [flag]
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform