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:17:49
Alec Dearden
Peterborough Hospitals Nhs Trust
Peterborough, United Kingdom
 
 
To
15/10/1999 10:12:13
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00276833
Message ID:
00276839
Views:
25
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform