O que a carta códigos no Oracle mesa user_constraints estande coluna constraint_type para?

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

Pergunta

select distinct constraint_type from user_constraints;

C
-
C
P
R
U

Parece P significa chave primária e R meio chave estrangeira, correto? Quais são L e C?

Foi útil?

Solução 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

Outras dicas

A partir da 12cR1 documentação :

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
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top