Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

Comparision Merge clause vs If not exists

$
0
0

Hi Team,

There exits various stored procedures, wherein developer has used if exists then update and if not then inserted records.

I would like to know, what is good option, considering with the fact that, stored procedure must be optimized and need to consume less resources.

Thanks  


Viewing all articles
Browse latest Browse all 5123

Trending Articles



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