Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Max Length of SQL Pass-through string
Message
De
05/02/2002 14:12:30
 
 
À
04/02/2002 12:39:50
Arden Weiss
Liberty Computers Ltd.
Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00614909
Message ID:
00615678
Vues:
17
Arden,

For readability, and to reuse or make generic SQLexec calls, I use to build the SQL command into a character string and then call the SQLexec function. This way I create very very long strings and have no problems:
 gObjtSQLcommand = "Select Count(*) as Records From " + IIf (Empty (cTableOwner), "", cTableOwner + ".") + cTableName

 If SqlExec (gSQLHandle, gObjtSQLcommand, "SQLcurSelect") <> 1
    . . .
Hope this helps,

Fernando
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform