My SQL query is generated from my existing data and saved into a local macro. It's about 400,000 characters long (there's a good reason for this, but it's not relevant to the question).
When I try to run odbc with it, I get the following error:
Code:
table() or exec() is required r(198);
It seems that the parser is not able to parse the entire input beyond a certain length and throws that error.
I can't find any memory/size limit that is being violated.
Does anyone have any solutions for this?
I'd rather try to "solve" this elegantly before resorting to some kludgy solution that breaks up the query and then appends the results back together...
Thank you in advance.
0 Response to odbc load throwing error for long SQL query
Post a Comment