MySQL查詢表注釋和字段注釋信息
-- 查詢表注釋 select table_schema, table_name, table_comment from information_schema.tables where table_schema = 'xxx' and table_name = 'xxx'; -- 查詢表字段注釋 select table_schema, table_name, column_name, column_comment from information_schema.columns where table_schema = 'xxx' and table_name = 'xxx';
記錄備查