Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not Enough Memory on SQL statement, sometimes
Message
De
05/01/2000 17:33:51
David Abraham
David Abraham & Associates, Inc.
New York City, New York, États-Unis
 
 
À
22/12/1999 09:43:04
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00305074
Message ID:
00313562
Vues:
44
Walter,

Thanks for the tip.

As it turns out, and I do not recall if I already sent this in, but my problem was placing a condexpr as a WHERE CondExpr not as part of a JOIN ... ON CondExpr1 AND CondExpr2. Why it made all the difference is beyond me but it did.

Thanks,

David

>David,
>
>>WHERE IIF(lcEmplAbbr='ALL',.T.,empl_abbr=lcEmplAbbr)
>
>You could change this in:
>WHERE lcEmplAbbr='ALL' OR empl_abbr=lcEmplAbbr
>
>I figure that lcEmplAbbr is a memory variable. Maybe you can construct your SQL at forehand in a string and leave this WHERE CLAUSE out when lcEmplAbbr='ALL', just speeding up performance.
>
>Succes,
>
>Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform