Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

exception handling in SQL

$
0
0

my scenario is like this inside a procedure i have 2 insert statement for 2 different table and I want a solution for 

if due to any reason (may be data integrity ) if one record not inserted the whole procedure statement should be rollback.

Thanks

Manoj


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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