Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem with left outer join and lpad

SweetyAug 10 2007 — edited Aug 10 2007
Hi

I want to compare one field of x table with another field of y table.
I want rows from x table which does not exists in y.

now i have take comparision like this

where LPAD (x.prod_nbr, 6, '0') || LPAD (x.case_seq_nbr, 2, '0') (+) = TRIM(y.item_id)

bcoz x of two fields making one field in y.

now error is coming for missing expresion. now where should i put outer join??

If i m removing lpad from x.case_seq_nbr then error is gone.

Please help, if anybody can idenfify the problem.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2007
Added on Aug 10 2007
6 comments
1,819 views