Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 18 line is too long
Message
De
07/12/2012 09:08:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01559041
Message ID:
01559049
Vues:
76
This message has been marked as a message which has helped to the initial question of the thread.
>sergey,
>
>if i have a big command such a big sql...
>
>how can i do ?
>
>
>bernhart

Can you possibly break it into multiple statements? Something like

cSql1 = "Select ......(up to the first UNION)"
cSql2 = "Union Select ....(up to next Union)"
.
.
.

Then do your Execute(ConnHandel, cSql1 + cSql2 + ...) ?

I ran into a similar issue and just got into the habit of

cSql = Sql Statement or SP call
cParams1 = parameter list
cParams2 = continuation of parameter list
etc.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform