Custom oracle function to do execute complex sql transformat

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
bahut2000
Participant
Posts: 2
Joined: Fri Feb 17, 2006 2:02 pm
Location: Mass

Custom oracle function to do execute complex sql transformat

Post by bahut2000 »

Will datastage do the necessary transformation row by row if I use Oracle custom function passing rowid as a parameter to the oracle custom function to excute complex sql query?I am intending to call the function
as a userdefined function from the Oracle Enterprise stage.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

"Will datastage do the necessary transformation"

What does that mean?

If you use a user-defined function in a SQL select query DS doesn't know or care. If your function is "doing stuff" such as queries than understand the performance impact that each row in the query set will run that function, which means that Oracle is unable to optimize the entire query.

Please clarify with a specific explanation of what you are doing.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply