About Us | Contact Us 
SEARCH in GO  
 

Welcome to MIND Sign in | Join | Help

Handling SQL RollBack transaction for more records in a single process

Last post 03-06-2008, 9:28 PM by neosamz. 0 replies.
Sort Posts: Previous Next
  •  03-06-2008, 9:28 PM 3061

    Handling SQL RollBack transaction for more records in a single process

    I have over 500 transaction records in a single DB process handling within SQL transaction (Begin, Commit, RollBack and End).
    Is there any limitation for the following rollbacktransaction function to handle more records (eg. over 500 records)?

     

            Public Shared Sub RollBackTransaction()
                Dim transactionObj As Object
                Try
                    transactionObj = SqlTransaction.GetExistingTransaction
                    If (Not IsNothing(transactionObj)) Then
                        CType(transactionObj, SqlTransaction).RollBack()
                    End If

                Catch ex As Exception
                    Throw New Exception(ex.Message)
                End Try
            End Sub



    ** http://www.ReadyShoppingMall.com **
    ** FREE SHIPPING, FREE GIFTS & UP TO 80% DISCOUNT! **
    ** A marketplace designed to help consumers more efficiently shop for products from trusted manufacturers & merchants. **
View as RSS news feed in XML
 ©2006 Mind Community. All rights reserved. | Privacy Statements