Solved

oracle comment on column

Posted on 2014-09-19
5
471 Views
Last Modified: 2014-09-20
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.
0
Comment
Question by:Dovberman
5 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
Comment Utility
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
 
LVL 15

Expert Comment

by:Haris Djulic
Comment Utility
@slightwv my bad, i accidentally clicked the submit abefore posted the link... and was suprised where is my comment...
0
 

Author Closing Comment

by:Dovberman
Comment Utility
Thank you
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now