ORA stage size limit with userdefined SQL query

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
pratapsriram
Premium Member
Premium Member
Posts: 41
Joined: Tue Jan 24, 2006 3:43 pm
Location: United States
Contact:

ORA stage size limit with userdefined SQL query

Post by pratapsriram »

I have encountered a weird issue, using Userdefined SQL in Oracle db stage, if the sql size is 11kb then the job fails with the error:

Code: Select all

The provided query statement did not prepare correctly;
So I removed all the whitespace in the query and got it to 9KB and then it works fine. So does that mean we will need to write sql queries not more than the size limit and if so what is the size limit? Is there any way to increase that?
Knowledge is Power
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes there is a size limit, no there's no way to increase it and that limit (in older versions at least) has been posted here in the past. It can vary by stage and version so best to ask your official support provider for the specifics of whatever version you have.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply