Oracle Merge Rejection Row Count

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-06-03T11:21:29Z Indexed on 2010/06/03 11:24 UTC
Read the original article Hit count: 359

Filed under:
|

Given an Oracle Merge statement with a rejection limit, is there a shorthand way to identify how many rows were rejected, without being forced to query the rejection destination?

The rejection destination has records pre-merge, so would currently have to be counted twice and the difference taken, but it seems like there should be a counter exposed, given that it has to be aware of whether it has exceeded the rejection limit.

© Stack Overflow or respective owner

Related posts about plsql

Related posts about oracle11g