Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL: statement too long
Message
From
03/08/2001 15:06:22
 
 
To
02/08/2001 13:21:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00538962
Message ID:
00539596
Views:
9
If you get this you need to break up your sql into 2 SQL statements making sure they each contain a unique id. Then combine them into one table.... SELECT temp1.* , temp2.* FROM temp1, temp2 WHERE temp1.uniqueid = temp2.uniqueid INTO CURSOR final.

above is most likely does not have the correct syntax...but you should get the idea. I had to do this one time for a report where there werent too many fields but the string itself exceed some limit because each field had to be prefaced with tablename and was written 'tablename.fieldname AS resultname' because i was doing a UNION.

If you cant get it to work...post the actual SQL also what version of Foxpro???

Glenn
Previous
Reply
Map
View

Click here to load this message in the networking platform