当前位置:Gxlcms > 数据库问题 > 如何删除mysql注释

如何删除mysql注释

时间:2021-07-01 10:21:17 帮助过:3人阅读

create table test1 ( field_name int comment 字段的注释 )comment=表的注释; $ sed "s/comment.\.*\//" create_table.sql create table test1 ( field_name int );

修改information_schema表不可行

update information_schema.COLUMNS set COLUMN_COMMENT = ‘‘ where TABLE_SCHEMA = demo;

执行以上sql发现没有权限,是因为information_schema是只读表。

如何删除mysql注释

标签:demo   comm   where   com   注释   只读   不可   update   dem   

人气教程排行