Cosa significano i codici lettera nella colonna Oracle user_constraints nella colonna Vincolo_tipo?

StackOverflow https://stackoverflow.com/questions/183642

Domanda

select distinct constraint_type from user_constraints;

C
-
C
P
R
U

Sembra P significa chiave primaria e R significa chiave esterna, giusto? Cosa sono U e C?

È stato utile?

Soluzione 2

Code Description                Acts On Level
---------------------------------------------
C    Check on a table           Column
O    Read Only on a view        Object
P    Primary Key                Object
R    Referential (Foreign Key)  Column
U    Unique Key                 Column
V    Check Option on a view     Object

Altri suggerimenti

Dalla 12cR1 documentazione :

C - Check constraint on a table  
P - Primary key  
U - Unique key  
R - Referential integrity  
V - With check option, on a view  
O - With read only, on a view  
H - Hash expression  
F - Constraint that involves a REF column  
S - Supplemental logging
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top