INSERT INTO table_name
( A, B, C, D, E )
SELECT
J,K,L,M,N FROM EMP
答案 0 :(得分:0)
假设emp有列J,K,L,M,N我想你需要一个类似下面的程序:
create or replace procedure dyna_insert
(
pi_emp_no number
)
is
begin
insert into table_name
( A, B, C, D, E)
select j,k,l,m,n from emp where emp_no = pi_emp_no;
end;