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_s p, xconn)
strCommand.Comm andType = CommandType.Sto redProcedure
strCommand.Comm andTimeout = 3600 '60 minutes
strCommand.Exec uteNonQuery
Thanks
Darin
*** Sent via Developersdex http://www.developersdex.com ***
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_s p, xconn)
strCommand.Comm andType = CommandType.Sto redProcedure
strCommand.Comm andTimeout = 3600 '60 minutes
strCommand.Exec uteNonQuery
Thanks
Darin
*** Sent via Developersdex http://www.developersdex.com ***
Comment