If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > how to get the detailed information about a table

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-04-10, 04:15
qiulang qiulang is offline
Registered User
 
Join Date: Jul 2009
Posts: 3
how to get the detailed information about a table

Hi,

Sorry if this is a newbie question. But how to get the detailed information about a table in oracle, say if a column has set the defaul value or which column is primary key or set some constraint.

Because when using desc table, you just get column name and column type.
Reply With Quote
  #2 (permalink)  
Old 02-04-10, 08:44
n_i n_i is online now
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,232
This information is shown by static dictionary views, such as dba_tables, dba_tab_columns, dba_constraints etc.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On