ORACLE/SCRIPT2009. 12. 24. 08:27
반응형

  • SQL>set pages 0
    SQL>spool emp_insert.sql
    SQL>select 'insert into emp(empno,ename) values('''|| empno || ''',''' || ename || ''');' from scott.emp;
    SQL>spool off

  • select 'insert into emp values ('''||컬럼1||''','''||컬림2||''');' from emp;

반응형
Posted by [PineTree]