Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

counting inserts/updates when doing a merge

$
0
0

When doing a merge statement we'd like to log the number of rows inserted and the number of rows updated.

 

At present we do this using 2 separate statements so we know from @@rowcount how many rows each one has operated on.

 

Is there anyway of getting the individual counts from a merge statement ?

 

Thanks


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>