Link to home
Start Free TrialLog in
Avatar of DLockwood
DLockwood

asked on

How do I not wait for execution of Stored Procedure?

I have a VB app that is calling a stored procedure that takes 15 minutes to run (no problem as I expect this). The problem is that my VB app is waiting for SQL to return a value and so my VB app stops executing on that line of code.

How do I tell SQL to accept the execute command and release the VB app?
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
First make sure that the machine running the vb has the isql utitly.  This can be found on your sql server.
Use the shell comnd in vb to call the isql utility form the command line, to execute the stored proc . . .

Avatar of DLockwood
DLockwood

ASKER

acperkins you were right on it! I was looking in the wrong place. It was not a SQL Server issue, but an option for my ADO Execute command.

Thanks for the help.

DLockwood