Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL INSERT
Message
De
22/03/2000 09:38:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL INSERT
Divers
Thread ID:
00348848
Message ID:
00348848
Vues:
51
Well, today I seem to have problems inserting a date variable
Here is an example:

fyr =cursor.fyr $&& string
ldDate = cursor.Sdate && datetime data type

cSQL="INSERT INTO Transbud (fyr, Sdate )"
cSQL=cSQL + " VALUES ('"+lcfyr+"',"+ALLT(STR(ldDate))+")"

what am I missing here?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform