Basically we have some stored procedures being called from C++ code. The procedures gather data and populate tables against which a report will be run. But the C code returns immediately without waiting for the results.
How are you connecting to SQL Server, odbc, ole/db ado? It sounds like you have set up an asynchronous connection which will return immediatly. Depending on your access method there is usually away to tell if the proc is still running. Or you may want to set the connection type to synchronous which will not return until the procedure is done.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.