Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting date into sql or firebird;What is .t. value in
Message
De
07/10/2005 04:17:55
 
 
À
18/09/2005 06:20:19
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01050571
Message ID:
01057066
Vues:
14
i tried these to insert to a firebird database.. (connection was established successfully, and insert is successful except when i'm inserting a date value. The date format
for date seems to be incorrect):

?sqlexec(nHandle, "insert into table1 (reference, date) values;
('23422','2005/01/01')")
* returns -1


?sqlexec(nHandle, "insert into table1 (reference, date) values;
('23422','01/01/2005')")
* returns -1

?sqlexec(nHandle, "insert into table1 (reference, date) values;
('23422','2005-01-01')")
* returns -1

?sqlexec(nHandle, "insert into table1 (reference, date) values;
('23422','2005-01-01')")
* returns -1

?sqlexec(nHandle, "insert into table1 (reference, date) values;
('23422',{2005-01-01})")
* returns -1

?sqlexec(nHandle, "insert into table1 (reference, date) values;
('23422',{01/01/2005})")
* returns -1


...and almost all possible ways of defining date such as {2005/01/01}
{1.1.2005} {^2005/01/01} '^2005/01/01'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform