Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Passthrough
Message
De
21/04/2003 11:06:18
 
 
À
21/04/2003 11:00:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00779805
Message ID:
00779807
Vues:
19
Try storing your statemnt in multiple string variables, then concatenating them in the SQLPREPARE function. Something like this:
cCmd1 = "select * "
cCmd2 = "from authors"

liResult = sqlprepare(iHandle, cCmd1 + cCmd2)
liResult = sqlexec(iHandle)
>There seems to be a restriction on the length of the SQL statement expression when using SQLPREPARE. When my statement is too long, I get an error, but when I shorten the statement the SQLPREPARE works OK.
>
>I am using VFP 6.0 and SQL Server 7.0
>
>Is there a way to change the length of the SQL statement sent in the SQLPREPARE command?
>
>Thank you
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform