Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting records from SQLServer based on date/time fiel
Message
De
08/03/2006 11:35:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Divers
Thread ID:
01102278
Message ID:
01102475
Vues:
16
Sergey --

Yeah, I know about AERROR ... my problem didn't really have to do with BETWEEN, but rather knowing how to specify the dates. A poorly worded question, then (or, at least, not specific enough)

>>A simple request: I need to select records for a range of dates. Something like
?SQLEXEC( 1, "Select * from MyTable where between(crtd_datetime, m.startdate, m.enddate)")
>>But, this gets a return code of -1, presumably because I am not specifying the date parameters correctly.
>
>You should use AERROR() function to get ODBC error info which could help in troubleshhoting.
Jim Nelson
Newbury Park, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform