D
Darin
How can I execute a stored procedure and NOT wait for it to finish
before my program continues. The SP takes about 15 minutes to run, so I
want to run it but not have the program locked while it is running.
I am running it via:
strCommand = New SqlCommand(in_sp, xconn)
strCommand.CommandType = CommandType.StoredProcedure
strCommand.CommandTimeout = 3600 '60 minutes
strCommand.ExecuteNonQuery
Thanks
Darin
before my program continues. The SP takes about 15 minutes to run, so I
want to run it but not have the program locked while it is running.
I am running it via:
strCommand = New SqlCommand(in_sp, xconn)
strCommand.CommandType = CommandType.StoredProcedure
strCommand.CommandTimeout = 3600 '60 minutes
strCommand.ExecuteNonQuery
Thanks
Darin