Mysql 备注字段

来源:互联网 发布:c语言中关键字是什么 编辑:程序博客网 时间:2024/06/05 16:05

--  在MySQL 5.0之后有一个Information_Schema库.可以直接操作里边的系统表.

select *
from Information_schema.columns
where table_Name='test';

--  其中有一列Column_Comment,这样你就可以读写备注了. 

原创粉丝点击