摘要: linux下修改MySQL表名与表的字符编码 修改表名: alter table tablename rename new_tablename; 修改表的字符编码: alter table table convert to character set GBK; 阅读全文
posted @ 2021-01-20 17:11 我娘的儿子可真帅呀! 阅读(46) 评论(0) 推荐(0)
摘要: 删除表信息的方式有两种 : truncate table table_name; delete * from table_name; 注 : truncate操作中的table可以省略,delete操作中的*可以省略 truncate、delete 清空表数据的区别 : 1> truncate 是整 阅读全文
posted @ 2021-01-07 15:03 我娘的儿子可真帅呀! 阅读(487) 评论(0) 推荐(0)