当前位置:Gxlcms > 数据库问题 > oracle 10g学习2

oracle 10g学习2

时间:2021-07-01 10:21:17 帮助过:1人阅读

1)获取s_emp表注释

    select comments

    from user_tab_comments

    where table_name =‘S_EMP‘;

  (2)获取字段注释

    select comments

    from user_col_comments

    where table_name =‘S_EMP‘;

注意:

    添加表注释:

    COMMENT ON table s_emp is ‘员工信息‘;

    添加字段注释:
    comment on column s_emp.id  is ‘员工号‘;
    comment on column s_emp.last_name is ‘姓‘;
    comment on column s_emp.first_name is ‘名‘;

 

oracle 10g学习2

标签:

人气教程排行