Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not Enough Memory on SQL statement, sometimes
Message
De
22/12/1999 09:43:04
Walter Meester
HoogkarspelPays-Bas
 
 
À
22/12/1999 09:33:27
David Abraham
David Abraham & Associates, Inc.
New York City, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00305074
Message ID:
00307271
Vues:
45
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform