ITPub博客

首页 > 数据库 > Oracle > DROP和TRUNCATE的区别

DROP和TRUNCATE的区别

原创 Oracle 作者:goasktom 时间:2014-05-20 21:38:25 0 删除 编辑
drop table t purge is not the same as truncate.

the purge just allows for the space to be immediately reused, it is not in the recycle bin

truncate changes the tables data object id, points it to new space, changes the TABLE entirely.

they are different commands.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29646619/viewspace-1165609/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-05-07

  • 博文量
    27
  • 访问量
    43325