Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: dictionary view for primary keys

Re: dictionary view for primary keys

From: OraSaurus <granaman_at_not_home.com>
Date: Mon, 18 Jan 1999 03:13:10 GMT
Message-ID: <aFxo2.4597$xq4.1231@news.rdc1.ne.home.com>


In article <369ec983.12676447_at_inet16.us.oracle.com>, clbeck_at_us.oracle.com wrote:
>On Wed, 13 Jan 1999 15:09:54 GMT, kal121_at_yahoo.com wrote:
>
>>Hello,
>>
>>Is there a dictionary view I can query that will list the columns in a given
>>table and their constraints - ie) primary key, foreign key, unique.
>>
>>I'm sure there is a view that has this info, but I can't find it.
>>
>
>look at dba_constraints.

.. and sys.dba_cons_columns (or user_cons_columns or ...)

Received on Sun Jan 17 1999 - 21:13:10 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US