Oracle stored procedures, statements and tests

xiaoxiao2021-03-06  20

Declaration and emplementation of procedure

create or replace procedure myprocedure istype mysyn is record (aa varchar (20), bb number (20)); begin for mysyn in (select * from test2) loop insert into test2 @ mydblink (aa, bb) values ​​(mysyn.aa, MYSYN.BB); end loop;

Test the procedure

. - - - - - - - - - - - - - - - - - - - - - - - -

转载请注明原文地址:https://www.9cbs.com/read-43303.html

New Post(0)