Created
February 12, 2020 13:58
-
-
Save RashidJorvee/97e3f3a3ef909da8ca70b0591beab659 to your computer and use it in GitHub Desktop.
Execute a Oracle procedure using Toad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var result refcursor -- create a variable result | |
BEGIN | |
proc_myActivities('rashidjorvee',:result); -- name of the parameter and all input parameters, and variable result as a last parameter with prefix of colon(:). | |
END; | |
-- execution of procedure has been completed and result stored in the variable result. | |
-- Now you have to print the variable result to see the output. | |
print result -- write command print and then variable name to print the result. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment