delete from 表名;完全能解决问题。

解决方案 »

  1.   

    truncate 不能rollback
    delete可以
      

  2.   

    但是(delete from 表名) 比 (truncate table 表名) 速度要慢很多!
      

  3.   

    不知为什么,我用  delete from 表名, 没有解决问题,用truncate table tablename解决了。
      

  4.   

    delete from 表名 ;
    commit;
      

  5.   

    你COMMIT了吗!
    delete from table1;
    commit;
    需要提交!
      

  6.   

    create or replace old_table as select * from table_name where 1=2;