随笔分类 -  mysql

摘要:用法: 1、drop table tb drop将表格直接删除,没有办法找回 2、truncate (table) tb 删除表中的所有数据,不能与where一起使用 3、delete from tb (where) 删除表中的数据(可制定某一行) truncate和delete的区别 1、事务:t 阅读全文
posted @ 2018-01-16 16:34 小酱油 阅读(278) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示