meanign of WHERE (GDW_BTCH_ID > ORCHESTRATE.GDW_BTCH_ID)

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
vasam
Participant
Posts: 30
Joined: Wed Nov 04, 2009 5:06 am

meanign of WHERE (GDW_BTCH_ID > ORCHESTRATE.GDW_BTCH_ID)

Post by vasam »

Hi All,

Can you please explain the meaning of below query.

SELECT RUN_STRM_C, GDW_BTCH_ID FROM DR_RUN_STRM_OCCR WHERE (GDW_BTCH_ID > GDW_BTCH_ID).

I am using above query in my oracl table , i am lookup this table into another table here GDW_BTCH_ID is the key column.

when i am exequting that above quey in oracle table i am getting zero records.

please provide your suggessions.

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

Post by chulett »

a) This doesn't match what is in your Subject. b) How can something be greater than itself? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It has the same effect as WHERE (1 = 0) - it can never select anything.

It could be deliberate, simply to test that Oracle is up and running, but its specificity suggests otherwise. My guess is an incorrect design.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply