Ok, I think we have misunderstood your problem.
The first time through this code you declare the procedure, execute the procedure and the error occurs. Is that right?
Ok, I think we have misunderstood your problem.
The first time through this code you declare the procedure, execute the procedure and the error occurs. Is that right?