excel - Union ALL query failed in VBA but ok in SQL Developer -


i have long query contains 10 union statements, whole query fine in oracle sql developer failed in excel vba.

i tested vba code removing union statements 1 one, worked fine 1 of union statements. when query has 2 or more union all, failed again.

does excel vba manipulate query string during execution ?

ok .. after many more hours of googling sort of have answer now:

http://fontstuff.com/access/acctut15.htm

"note: maximum length of sql statement in vba 32,768 characters!)"

thanks comments.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -