首页 > 数据库 > Oracle > ORACLE删除-表分区和数据
1.全删除:删除分区,数据也自动删除
alter table tablename drop partition partionname update global indexes;
2.清数据:只删除数据
alter table tablename truncate partition partionname update global indexes;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31397003/viewspace-2690106/ ,如需转载,请注明出处,否则将追究法律责任。