Page 1 of 1

ORAOCI9 Stage

Posted: Thu Nov 09, 2006 5:41 am
by paweljanowski
Hi!
I tried to find such information but without a success, so I decided to post my question - is there any correspondence between Column-generated SQL query and User-defined SQL query. In particular if I've got defined both of them in the same stage, which one is executed or if both - in which order?

I'd appreciate any help.

Posted: Thu Nov 09, 2006 6:01 am
by WoMaWil
normaly the one you select is excecuted. If you make a column-based one the statement is basis for change in user-defined. Sometimes you have some strange behaviours. If you switch from user-defined to column best is to delete the user defined one. If you use user-defined best is also to delete derivations in the column-definition completly otherwise you may also get strang or wrong behaviour.

Posted: Thu Nov 09, 2006 7:19 am
by paweljanowski
WoMaWil wrote:normaly the one you select is excecuted. ....
How do I select - you mean the one which is displayed when I look in Query Type on Output tab of the stage?

Posted: Thu Nov 09, 2006 7:55 am
by chulett
Yup. And I personally haven't seen any need to delete one or the other when switching. The only thing that it tends to confuse or cause strange behaviour in that I've noticed is the person looking at the job. :wink:

Posted: Thu Nov 09, 2006 12:21 pm
by clshore
I have seen instances where the generated and custom SQL statements used different job parameters, and when running the job, you still had to supply values for both.

A minor annoyance.

Carter Shore