hi friends,
When I went through the nesting of stored procedures, i found that you have to use the dynamic call statement for recursively calling the same procedure for successful compilation. If the static SQL is used instead, the procedure name will not be resolved at the compile time and this will generate a compile error.
Any other real time use???
Jake
Quote:
Originally posted by victor9k
Hello!
Well you can think about the situation you do not know exactly what stored procedure you want to call. You might have a group of stored procedure exposing some sort of "interface" (same params, same return type, but of course different functionality). At runtime you will call dinamically the apropriate stored procedure depending on your flow.
Victor
|