Solved

How to make comment when create table by ERWin?

Posted on 2006-06-14
3
2,875 Views
Last Modified: 2013-12-12
I am trying to use ERWin to create table for ORACLE, but I am not sure how to add comment for all column, I mean I hope all Logical column name is treated as comment for that column, does anyone help me, what can I do?
0
Comment
Question by:mikezang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
sapnam earned 50 total points
ID: 16931762
You can add comments to the table or to columns in the table.  The command for adding comment to tables is]
 COMMENT ON TABLE [schema.]table IS 'text'

The command for adding comments to columns in a table is
   COMMENT ON COLUMN [schema.]table.column IS 'text'

You can view the comments by using the data dictionary views

DBA_COL_COMMENTS     ALL_COL_COMMENTS     USER_COL_COMMENTS  - For Couimns
DBA_TAB_COMMENTS     ALL_TAB_COMMENTS     USER_TAB_COMMENTS - For Tables
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to recover a database from a user managed backup

726 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