Solved

oracle comment on column

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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
grouping on time windows 6 55
Export table into csv file in oracle 10 229
Help on model clause 5 37
Loading flat file data in tables 2 39
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

790 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