Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to make comment when create table by ERWin?

Posted on 2006-06-14
3
Medium Priority
?
2,931 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 200 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
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 syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

604 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