摘要: Delete、Drop 和 Truncate delete、truncate 仅仅删除表里面的数据,drop 会把表的结构也删除 delete 是 DML 语句,操作完成后,可以回滚,truncate 和 drop 是 DDL 语句,删除之后立即生效,不能回滚 执行效率:drop > truncat 阅读全文
posted @ 2024-09-22 21:48 zhzcc 阅读(128) 评论(0) 推荐(1)