I'm used to using SQL syntax to generate a result set and then interrogate the generated result set.
I'm now looking at making use of stored procedures in the target SQL Server database but need to be sure that the running of these is waited upon. By this I mean that if I make use of a stored procedure in the 2nd step (block B) of a 3-step code block (run A, then run B, then run C) that code block C is not run before the stored procedure has performed it's workload (be it that it a value returned or a result set returned).
Can I be sure that the stored procedure is completed within step B before step C is started to be run by the application code ?
Is this the case ?
I hope that this makes sense ?
Steve
I'm now looking at making use of stored procedures in the target SQL Server database but need to be sure that the running of these is waited upon. By this I mean that if I make use of a stored procedure in the 2nd step (block B) of a 3-step code block (run A, then run B, then run C) that code block C is not run before the stored procedure has performed it's workload (be it that it a value returned or a result set returned).
Can I be sure that the stored procedure is completed within step B before step C is started to be run by the application code ?
Is this the case ?
I hope that this makes sense ?
Steve