Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Saving an invoice header and details in sql in one stored procedure.

$
0
0
I would like to create an invoice in visual studio 2008 with a header and x amount of details (every time it's different). I want to be able to bring it all into sql encapsulated in one begin and commit transaction so that if there is an error anywhere on the way it can roll back and nothing will be saved to the database. 

Debra has a question


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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