你能不能一次吃完一天的饭呢?一条条的写吧或者用plsql有一种情况例外
insert into……………………select…………这个可以

解决方案 »

  1.   

    insert into table ... select ..from table where ....这样可以一下插入一批记录.如果不想一句句写,那就用过程+游标也行.
      

  2.   

    insert into table ... select ..from table where ...
      

  3.   

    批量插入,要不然你就用sqlplus执行一个sql脚本慢慢写吧
      

  4.   

    有个工具很好用 
    帮你写重复部分的脚本
    UltraEdit
    用它先写脚本,然后运行。
      

  5.   

    用游标不就行了,不过最好插入一定数量就commit一次,小心插到一半死机,那就麻烦了。
      

  6.   

    insert into tablename1(field1,field2)select field1,field2 from tablename2如果插入的数据多了.最好是不要这样写.如楼上说的.