Solved

oracle comment on column

Posted on 2014-09-19
5
483 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
ID: 40333412
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
ID: 40333427
@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
ID: 40334287
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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.
This video shows how to recover a database from a user managed backup

919 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

14 Experts available now in Live!

Get 1:1 Help Now