What is the fastest way to insert data into an Oracle table?

前端 未结 8 2077
逝去的感伤
逝去的感伤 2020-12-30 07:22

I am writing a data conversion in PL/SQL that processes data and loads it into a table. According to the PL/SQL Profiler, one of the slowest parts of the conversion is the a

8条回答
  •  孤独总比滥情好
    2020-12-30 07:53

    Suppose you have taken eid,ename,sal,job. So create a table first as:

    SQL>create table tablename(eid number, ename varchar2(20),sal number,job char(10));
    

    Now insert data:-

    SQL>insert into tablename values(&eid,'&ename',&sal,'&job');
    

提交回复
热议问题