热线电话:13121318867

登录
2019-05-08 阅读量: 666
mysql删除数据的区别在哪里?

1、drop  table tb 

      drop将表格直接删除,没有办法找回

2、truncate (table) tb

      删除表中的所有数据,不能与where一起使用

3、delete from tb (where)

      删除表中的数据(可制定某一行)

0.0000
1
关注作者
收藏
评论(0)

发表评论

暂无数据