Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting date into sql or firebird;What is .t. value in SQL
Message
De
17/09/2005 08:07:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Inserting date into sql or firebird;What is .t. value in SQL
Divers
Thread ID:
01050571
Message ID:
01050571
Vues:
74
when inserting date or logical value using SQL Passthrough, these generate error:
?sqlexec(nHandle,'INSERT INTO X (date) values ({01/01/2005})')
?sqlexec(nHandle,'INSERT INTO X (Boolfield) values (.t.)')

what are the equivalent date representation such as:
VFP: {01/01/2005}
MSSQL: '01/01/2005' ?
FIREBIRD: ?
or logical 'true' representation such as
VFP: .t.
MSSQL: ?
FIREBIRD:?

?sqlexec(nHandle,'SELECT * from X where boolfied=.t.') &&error
?sqlexec(nHandle,'SELECT * from X where .f.') &&to just get the structure
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform