Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inconsistent SPT-Select returns.
Message
De
10/08/2000 17:40:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00403527
Message ID:
00403710
Vues:
13
>>The database is VFP.
>>
>>1. SELECT expression that returns inconsistently:
>>lcStrSQL = " SELECT p.* FROM arperend p " + ;
>> " WHERE p.pedPerEnd = {" + DTOC(ldPeriodEnd) + "} "
>
>How about something like:
>
>ldDate = '1991-10-01' && get the date string in this format
>cSql = 'select p.* from arperend p where p.pedPerEnd = {^' + ldDate + '}'

The "Strict date" in TOOLs/OPtions/General is set to "OFF".
Queries return incorrect result randomly for 1 or 2 records from about 700 records.
However, the date expression is included in WHERE-clause of almost all queries.
I'm going to try the proposed date format.

Thank you.
Ed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform