|
|
Question : Return keyword in stored procedure do?
|
|
What does 'Return' keyword in stored procedure do?
|
Answer : Return keyword in stored procedure do?
|
|
Return will exit stored proc and argument supplied to return will be the status of return.
xxxx return 1 yyyy
If above part is inside body of stored proc, then yyyy wont execute after return. Stored proc will exit with exit status 1.
|
|
|
|