Solved

How to make comment when create table by ERWin?

Posted on 2006-06-14
3
2,817 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
3 Comments
 
LVL 8

Accepted Solution

by:
sapnam earned 50 total points
Comment Utility
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

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.

Join & Write a Comment

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 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…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
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…

743 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

17 Experts available now in Live!

Get 1:1 Help Now