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

Home -> Community -> Usenet -> c.d.o.misc -> Re: in which sys-view are unique-constraints

Re: in which sys-view are unique-constraints

From: Frank van Bortel <fvanbortel_at_netscape.net>
Date: Tue, 01 Mar 2005 11:42:39 +0100
Message-ID: <d01gqk$lbr$1@news1.zwoll1.ov.home.nl>


Lore Leuneog wrote:
> Hello
>
> Does anyone know in which sys view I can find which columns have unique
> constraints?
> Because all_constraints has only constraint_type which is P (for primary
> key) and C (for nonnull?) and R (for?) but nothing for "unique".
>
> Thank you
> Sincerely
> Lore
>
>

P - primary key (and therefore, NOT NULL, and UNIQUE)
C - check (NOT NULL would be an example)
R - Relational (Foreign keys)

Of course, all documented

-- 
Regards,
Frank van Bortel
Received on Tue Mar 01 2005 - 04:42:39 CST

Original text of this message

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