Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE
myTransaction = SQLConn.BeginTransaction(IsolationLevel.ReadUncommitted) Dim sql As String = "Execute dbo.insertCancelInvoicePlan @InvoiceHeaderID, @PFCustomerOrderNumber" Using comm As New SqlCommand(sql, SQLConn) comm.CommandTimeout = 300 comm.Transaction = myTransaction For Each InvoiceHeaderID As Integer In InvoiceHeaderIDList Dim CustomerOrderNumber As String = GetRandomPO(8) While True ' next line does a select against a table that is used in this transaction If IsNewCustomerPO(CustomerOrderNumber) = True Then Exit While End If CustomerOrderNumber = GetRandomPO(8) End While comm.Parameters.AddWithValue("@InvoiceHeaderID", InvoiceHeaderID) comm.Parameters.AddWithValue("@PFCustomerOrderNumber", CustomerOrderNumber) comm.ExecuteNonQuery() comm.Parameters.Clear() Next End Using