您的位置:首页 > 数据库 > Oracle

Oracle 给表和字段添加注释

2011-04-20 14:23 375 查看

1. 给指定表添加注释。如下:

-- Add comments to the table
comment on table TABLENAME
is '表的注释';

 

 

2. 给指定表指定列添加注释。如下:

-- Add comments to the columns
comment on column TABLENAME.COLUMNNAME
is '指定表指定列注释';

 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: