Solved

oracle comment on column

Posted on 2014-09-19
5
511 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 77

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
constraint check 2 56
Create file system directory from Oracle 10g 4 32
making a message body variable from an oracle select statement 4 36
format dd/mm/yyyy parameter 16 48
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
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…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

749 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