I need to include several stored procedures in one transaction in the same database, if any of the stored procedures failed, the transaction is rolled back to the entire stored procedure processed in the area.
I am working with SQL-SERVER 2008
begin transaction begin try exec proc_1 exec proc_2 exec proc_3 commit transaction end try begin catch rollback transaction end catch
, , . - , . , (MS SQL Server, MySQL ..), .
, , api, " ".
.Net example http://msdn.microsoft.com/en-us/library/2k2hy99x.aspx ado.net
, .
SQL Server
Source: https://habr.com/ru/post/1720805/More articles:Добавление некоторой логики в SQL-запрос - sqlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1720801/c-features-to-learn&usg=ALkJrhi7__PK-lY5TAZbR7SMzBDauc8XcASSL without HTTP - sslCan I use the static (i.e. Predefined) name of the callback function when requesting JSONP using jQuery? - javascriptHTML encoded code expressions - syntaxHow do you convert audio files (on the fly) to a browser? - linuxjQuery hosted on Google CDN: why do I need internet access? - jquerymysql: export single row but with all dependencies - sqlLinq Join - Duplicates - c #файл электронной почты через форму php - fileAll Articles