Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL command too complex - what should I do?
Message
 
 
À
10/12/1999 15:50:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00301958
Message ID:
00302027
Vues:
35
>Hi Mark,
>
>> group by &cGroupBy ;
>> order by &cOrderBy ;
>
>Just an addition, I would add the "GROUP BY" to the variable, otherwise, if its dynamic it may be empty, and may couse an error.
>
>lcGroupBy = iif(empty(cGroupBy), '', 'group by ' + cGroupBy)

Good point. Same goes for ORDER BY.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform