posted 15 years ago
Hi,
All, is it possible to use Oracle merge query within the same table.
Case is
1. Select if input.x and input.y combination exists in Table A
2. If a row exists update column C in Table A with inout.Z
3. If row doesnt exist insert the row
Can anyone provide me how to do this using merge ?
I wrote a procs to do this but believe a merge can handle it
Thanks