source

Oracle user_contraints 테이블의 contraint_type 열에 있는 문자 코드는 무엇을 나타냅니까?

itover 2023. 3. 13. 20:24
반응형

Oracle user_contraints 테이블의 contraint_type 열에 있는 문자 코드는 무엇을 나타냅니까?

select distinct constraint_type from user_constraints;

C
-
C
P
R
U

P는 프라이머리 키, R은 외부 키인 것 같죠?U와 C가 뭐죠?

12cR1 매뉴얼에서 다음 순서를 수행합니다.

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
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

언급URL : https://stackoverflow.com/questions/183642/what-do-the-letter-codes-in-oracle-user-contraints-tables-constraint-type-colum

반응형