DBA面试题

当前位置: 面试问题网 > DBA面试题 > Oracle中delete,truncate和drop的区别

Oracle中delete,truncate和drop的区别

Delete命令用来删除表的全部或者一部分数据行,执行delete之后,用户需要提交(commmit)或者回滚(rollback) transaction 来执行删除或者撤销删除, delete命令会触发这个表上所有的delete触发器。
   Truncate删除表中的所有数据, 这个操作不能回滚,也不会触发这个表上的触发器,TRUNCATE比delete更快,占用的空间更小。
   Drop命令从数据库中删除表, 所有的数据行,索引和权限也会被删除,所有的DML触发器也不会被触发,这个命令也不能回滚。

【Oracle中delete,truncate和drop的区别】相关文章

1. Oracle中delete,truncate和drop的区别

2. 软件测试LoadRunner面试题:What is correlation? Explain the difference between automatic correlation and manu

3. 软件测试LoadRunner面试题:What is the difference between Overlay graph and Correlate graph?

4. shallow copy和deep copy的区别

5. 软件测试LoadRunner面试题: Where do you set automatic correlation options?

6. 软件测试LoadRunner面试题:What is the difference between standard log and extended log?

7. 软件测试LoadRunner面试题:If you want to stop the execution of your script on error, how do you do that?

8. What\'s the difference between deep copy and shallow copy? (深拷贝与浅拷贝有什么区别)

9. 介绍一下ICMP(Internet Control Message Protocol)Internet控制信息协议

10. 软件测试LoadRunner面试题:Explain the following functions: – lr_debug_message

本文来源:https://www.mianshiwenti.com/a13257.html

点击展开全部

《Oracle中delete,truncate和drop的区别》

将本文的Word文档下载到电脑,方便收藏和打印

推荐程度:

进入下载页面

﹝Oracle中delete,truncate和drop的区别﹞相关内容

「Oracle中delete,truncate和drop的区别」相关专题

其它栏目

也许您还喜欢