Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
INSERT INTO table_name ( A, B, C, D, E ) SELECT J,K,L,M,N FROM EMP
emp に列 J、K、L、M、NI があると仮定すると、次のような手順が必要だと思います。
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;