I have a stored procedure which executes another procedure inside it. The second one sometimes takes a while to run but the first seems to finish before waiting for the second. This has resulted in missing data, which should have been updated by the second procedure. Is there a timeout limit within the first procedure and can this be extended?
I have a stored procedure which executes another procedure inside it. The second one
Share
create a new table:
in each procedure add INSERTs like this:
then do this
to see what happened, hopefully you will see this because procedures run sequentially and B can not finish after A: