oracle comment on column

I would like to attach a comment to a column.  Then I would like to displaythe comment.

How can this be done?

I tried:

COMMENT ON COLUMN employee.job  
   IS 'Title of job';  No errors.

describe employee;  Comment not shown



Thanks.
DovbermanAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
slightwv (䄆 Netminder)Connect With a Mentor Commented:
You cannot see comments with a describe command.

You need to SELCT them:
select table_name, column_name, comments
from user_col_comments where table_name = 'EMPLOYEE'
order by table_name, column_name
/
0
 
Haris DjulicCommented:
@slightwv my bad, i accidentally clicked the submit abefore posted the link... and was suprised where is my comment...
0
 
DovbermanAuthor Commented:
Thank you
0
All Courses

From novice to tech pro — start learning today.