Hi,
I have not used sql transactions in my code in asp.net. How to begin and end it.. ?
This way
CREATE PROCEDURE Test AS BEGIN SET NOCOUNT ON; BEGIN TRY BEGIN TRANSACTION --Queries here COMMIT TRANSACTION END TRY BEGIN CATCH ROLLBACK TRANSACTION END CATCH END GO
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.