是否有列注释语法,允许我在创建表语句(即内联)中声明列时直接指定列注释? 11g spec没有提到任何东西,在another page提到的东西,但我不能得到它的工作。有一种方法来specify comments after creating the table,但我认为这是令人讨厌的评论是从字段定义分开。我期待这样的事情(不工作):Oracle创建包含列注释的表
create table whatever (
field number(15,0) primary key comment 'primary key generated from sequence pkseq',
...
)
如果我没有弄错,'COMMENT ON'语法是由SQL标准定义的。 –
@a_horse_with_no_name:我的理解是。该评论是*不是* ANSI *标准的一部分,尽管其他数据库确实使用它 – APC