Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to populate default values for a new record?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01474230
Message ID:
01474256
Vues:
45
>>>No. It's a result of SQLEXEC command.
>>
>>Then in the method where you add record REPLACE default values :-)
>
>How? I want to replace with the defaults from the database. In other words, looks like we need to bring the defaults for the columns in a separate statement...
>
>All sounds quite tricky, but as I examined our tables yesterday, I found that we're not using defaults.
sp_columns 'NamerOfTheTable' 
And check Column_Def column.
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