Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Size limit to SQL string in SQLEXEC or ODBC
Message
From
15/10/1999 10:25:05
 
 
To
15/10/1999 10:17:49
Alec Dearden
Peterborough Hospitals Nhs Trust
Peterborough, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00276833
Message ID:
00276850
Views:
17
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform