Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with ODBC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00156619
Message ID:
00156644
Vues:
26
Here's an easy way that you can use even if you don't know how the backend database formats datetime fields:
m.ldStartDate=DTOT({^1998/01/01})
q = sqlconnect("testa")
=sqlexec(q,"select * from test where newdatet>?m.ldStartDate" ,"Mycursor")
>How handle a datetime field in the where part.
>This is not a foxpro database, so dtos will not work
>
>
>example
>q = sqlconnect("testa")
>=sqlexec(q,"select * from test where newdatet>"+??? ,"Mycursor")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform