This topic describes the conversion scope of COMMENT DDL operations during data migration from an Oracle database to an Oracle tenant of OceanBase Database.
Syntax
COMMENT ON
{ AUDIT POLICY policy
| COLUMN [ schema. ]
{ table. | view. | materialized_view. } column
| EDITION edition_name
| INDEXTYPE [ schema. ] indextype
| MATERIALIZED VIEW materialized_view
| MINING MODEL [ schema. ] model
| OPERATOR [ schema. ] operator
| TABLE [ schema. ] { table | view }
}
IS string ;
Supported operations
Commenting on a table by using the
COMMENT ON TABLEclause is supported. Example:COMMENT ON TABLE T IS 'test';Commenting on a column by using the
COMMENT ON COLUMNclause is supported. Example:COMMENT ON COLUMN TEST_DATE.V_DATE IS 'date'
Unsupported operations
Commenting on an audit policy by using the
COMMENT ON AUDIT POLICYclause is not supported.Commenting on an edition by using the
COMMENT ON EDITIONclause is not supported.Commenting on an index type by using the
COMMENT ON INDEXTYPEclause is not supported.Commenting on a materialized view by using the
COMMENT ON MATERIALIZED VIEWclause is not supported.Commenting on a mining model by using the
COMMENT ON MINING MODELclause is not supported.Commenting on an operator by using the
COMMENT ON OPERATORclause is not supported.