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!

How to get IF THEN ELSE condition from another table

Keen2LearnJun 6 2011 — edited Jun 9 2011
Hi eveybody,
I have one situation and i need your advice guys.
I have to apply IF THEN ELSE condition in PL/SQL from some other table. I am doing merging in tableA which will execute IF column1 from tableC = Y.
E.g: Tablec has three columns:source, dest, condition. IF condition = Y in tableC, Then merge into tableA using (Sql query selecting from source in table C) B.

Please let me know how to get condition = Y from table C.
IF condition = Y for respective source in C, then merge will happen for that source.

Please provide your comments and responses.
I will really appreciate your comments and responses.
Thank you very much.
This post has been answered by Solomon Yakobson on Jun 8 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2011
Added on Jun 6 2011
12 comments
1,012 views