输入banner图图片脚本导航/分类

oracle 10g学习2

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

标签: