I'm writing a VB6 app which calls several stored procedures on my SQL
Server DB.
The first stored procedure must complete its inserts before the second
stored procedure can query the modified table for its results. My
problem is that
the second stored procedure occasionally returns a different result
set, acting as if the first stored procedure didn't complete (or
didn't run).
So how do I ensure (or test/poll?) that the first stored procedure
runs to completion before returning control back to my VB app?
Thanks in advance,
Ralph
Server DB.
The first stored procedure must complete its inserts before the second
stored procedure can query the modified table for its results. My
problem is that
the second stored procedure occasionally returns a different result
set, acting as if the first stored procedure didn't complete (or
didn't run).
So how do I ensure (or test/poll?) that the first stored procedure
runs to completion before returning control back to my VB app?
Thanks in advance,
Ralph
Comment