Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: in which sys-view are unique-constraints
On Tue, 01 Mar 2005 00:18:12 +0100, 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".
>
Check again.
From the "Oracle9i Database Reference / Release 2 (9.2)" manual, found at http://docs.oracle.com (Part Number A96536-02), Chapter 2 "Static Data Dictionary Views", section "ALL_CONSTRAINTS", for column "CONSTRAINT_TYPE"
"
CONSTRAINT_TYPE VARCHAR2(1) Type of constraint definition:
FGB Received on Tue Mar 01 2005 - 05:57:15 CST