How to execute stored procedures with return parameters in Oracle
Source: Internet
Author: User
How to execute the Stored Procedure SQL code www.2cto with return parameters in Oracle. comdeclarev_return_valuenumber; # declare a parameter to return the beginITS_SYS_PKG.saveITS_REGION (& amp; #39; 100009 & amp; #39;, & amp; #39; Test Region & amp; #39 ;, & a how to execute the Stored Procedure SQL code www.2cto.com declare v_return_value number in Oracle with returned parameters; # declare a parameter to return the begin ITS_SYS_PKG.saveITS_REGION ('123', 'test region ', 'yz', v_return_value); dbms_output.put_line (v_return_value); (the old version is dbms_output.put_line) end; PLS-00302: com Ponent 'putline' must be declared error cause: dbms_output.putline (); function name changed in the new version. It should be dbms_output.put_line (); after correction, it will be fine.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service