mysql linux 导出数据
摘要:1、mysql -hxx -uxx -pxx -e 'select "" name from a' db数据库 > file 2、导出的文件notepad++打开 3、新建excel文件,设置所有单元格格式为文本 4、复制notepad++内容到excel,保存 导出单个表到sql mysqldum
阅读全文
posted @
2020-05-22 19:41
程序员丁先生
阅读(1208)
推荐(0) 编辑
mysql 去除前后空白字符
摘要:update table set field = replace(replace(replace(field,char(9),''),char(10),''),char(13),'');
阅读全文
posted @
2020-05-10 04:10
程序员丁先生
阅读(825)
推荐(0) 编辑