跟表一样:
COMMENT ON
{ TABLE [schema .] { table | view | materialized view }
| COLUMN [schema .] { table . | view . | materialized view . } column
| OPERATOR [schema .] operator
| INDEXTYPE [schema .] indextype
}
IS 'text';To insert an explanatory re on the job_id column of the employees table, you might issue the following statement: COMMENT ON COLUMN employees.job_id
IS 'abbreviated job title';
COMMENT ON
{ TABLE [schema .] { table | view | materialized view }
| COLUMN [schema .] { table . | view . | materialized view . } column
| OPERATOR [schema .] operator
| INDEXTYPE [schema .] indextype
}
IS 'text';To insert an explanatory re on the job_id column of the employees table, you might issue the following statement: COMMENT ON COLUMN employees.job_id
IS 'abbreviated job title';
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货