Determining SQL MERGE statement result

Posted by Pete Damore on Stack Overflow See other posts from Stack Overflow or by Pete Damore
Published on 2010-05-31T20:07:37Z Indexed on 2010/05/31 20:13 UTC
Read the original article Hit count: 433

Filed under:
|
|
|
|

Is there a way to determine whether a record was matched or not (whether the record was inserted or updated) after calling MERGE?

Ideally I'd like to output it to a parameter.

© Stack Overflow or respective owner

Related posts about sql

Related posts about update