-- 在MySQL 5.0之后有一个Information_Schema库.可以直接操作里边的系统表.
select *
from Information_schema.columns
where table_Name='test';
-- 其中有一列Column_Comment,这样你就可以读写备注了.
-- 在MySQL 5.0之后有一个Information_Schema库.可以直接操作里边的系统表.
select *
from Information_schema.columns
where table_Name='test';
-- 其中有一列Column_Comment,这样你就可以读写备注了.