1. 给指定表添加注释。如下:
-- Add comments to the table
comment on table TABLENAME
is '表的注释';
2. 给指定表指定列添加注释。如下:
-- Add comments to the columns
comment on column TABLENAME.COLUMNNAME
is '指定表指定列注释';
本文介绍如何使用SQL为指定表及其列添加注释,包括具体的语法示例。
1. 给指定表添加注释。如下:
-- Add comments to the table
comment on table TABLENAME
is '表的注释';
2. 给指定表指定列添加注释。如下:
-- Add comments to the columns
comment on column TABLENAME.COLUMNNAME
is '指定表指定列注释';
1万+

被折叠的 条评论
为什么被折叠?