SDEC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.254)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = DEC)
)
)
CREATE PUBLIC DATABASE LINK doko CONNECT TO gz IDENTIFIED BY GZ USING 'SDEC';
create or replace procedure test(a in integer,b out integer) is begin b:=a+1000; end test;
create or replace procedure test2 is
p integer;
begin
test@doko(1,p);
dbms_output.put_line('p='||p);
end test2;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25556429/viewspace-1052308/ ,如需转载,请注明出处,否则将追究法律责任。