Nested Stored procedure

  • Hi

    i have 3 stored procedures prc_A, prc_B, prc_C. prc_A calls prc_B, which in turn calls prc_C. There was an error with prc_C, which bubbled up to prc_A. After fixing that error, I recompiled and ran prc_C and it ran OK. I then tried to run prc_B, in order to test the call to prc_C. I got the same error as before. This was baffling to me since the procedure was fixed and ran error free earlier. So I added a dummy SELECT stmt and re-compiled prc_B, kind of forcing it to look at the prc_C. When I ran prc_B again, it ran without a problem. Now, I tried to run prc_A to make sure all is well - again, I got the same error message! Thinking that the compiler must have gotten stumped, I tried adding a dummy SELECT to prc_A - still it would give me the same error. It is as if, prc_A completely ignored the corrections made to prc_C! It is quite a weird situation. I'd appreciate any help with this issue

    Thanks.

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply