Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC - INSERT INTO syntax question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00599449
Message ID:
00599456
Vues:
21
Thanks Sergey. I didn't think it would be that simple.

>>Now, I want to do the same thing with datetime and numeric fields. How would I handle inserting records with those data types using SQLEXEC?
>The datetime value in SQL Server is represented by a character string.
...
>strSQL = strSQL + Transform(lnNumber) + ", "
>strSQL = strSQL + "'" + DTOC(ldDate) + "', "
>strSQL = strSQL + "'" + TTOC(ltDatetime) + "', "
>...
>
Al Williams

Anola MB, CANADA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform