Oracle Update SQL Explain Plan

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

chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I have absolutely no idea - let us know what you find out when you ask IBM. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
mddw08
Premium Member
Premium Member
Posts: 7
Joined: Fri Apr 18, 2008 1:52 pm

Post by mddw08 »

We are having the same problem here when an indexed column is a character data type (char or varchar2). DataStage does something with the bind variables (ORCHESTRATE.INV_BK in your case) and Oracle gets confused. As a workaround, we wrap the bind variables used in the where clause of an update statement in a character conversion function. Try to raplace ORCHESTRATE.INV_BK with TO_CHAR(ORCHESTRATE.INV_BK) if it's a character fileld.
Post Reply