Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Size limit to SQL string in SQLEXEC or ODBC
Message
De
15/10/1999 10:25:05
 
 
À
15/10/1999 10:17:49
Alec Dearden
Peterborough Hospitals Nhs Trust
Peterborough, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00276833
Message ID:
00276850
Vues:
19
>David,
>
>I had a similar problem with Sybase, I read on technet somewhere to create your SQL statement in chunks (seperate variables) then concatenate as below:-
>
>sql1="Select * "
>sql2="FROM adatabase "
>sql3="WHERE x=123 "
>
>fullsql=sql1+sql2+sql3
>
>This works great for me, hope this helps you
>
>Alec Dearden.

Thanks for the suggestion,

Unfortunately, this is what I am already doing, and it stops working when "fullsql" exceeds 30,000 bytes in length.

David,
__________________________________________________
Mesa Vista Software (david@mesa-vista.com)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform