Oracle creates stored procedures and executes the basic syntax of stored procedures

 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Sweet Potato Yao June 24, 2016 17:11:33 Friday

http://fanshuyao.iteye.com/

 

First, Oracle create stored procedures and execute stored procedures

 

This is not the same as the creation and execution of sql.

 

CREATE OR REPLACE PROCEDURE P_CREATE_T_PM_BILLS_CHECK
(
  RESULT IN OUT VARCHAR2
) AS
BEGIN
  RESULT := 1 || RESULT;
END P_CREATE_T_PM_BILLS_CHECK;

declare
param varchar2(30);
begin
  param := 'aaa';
  P_CREATE_T_PM_BILLS_CHECK(param);
  Dbms_Output.put_line(param);
end;

 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Sweet Potato Yao June 24, 2016 17:11:33 Friday

http://fanshuyao.iteye.com/

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326760505&siteId=291194637