Schema F_54
Oracle Version 11.2.0.4.0
As Of 2022/09/19 13:58:07
Prior Table | Table USLUGI_UMOWY_POJAZDY | Next Table |
Comment |
---|
Tabela zawierająca listę pojazdów uprawnionych do odbioru śmieci w ramach umowy |
Column ID | Column Name | Datatype | Not Null | Data Default | Comments |
---|---|---|---|---|---|
1 | ID_REK | NUMBER | Y | PK z sekwencji SEQ_USLUGI_UMOWY_POJAZDY. | |
2 | ID_UMOWY | NUMBER | Y | Id umowy, FK do USLUGI_UMOWY.ID. | |
3 | ID_POJAZDU | NUMBER | Y | Id pojazdu, FK do USLUGI_SL_SEKTORY.ID_SEKTORA. | |
4 | MOD_DAT | DATE | |||
5 | MOD_USR | VARCHAR2(30 BYTE) | |||
6 | UTW_DAT | DATE | SYSDATE | ||
7 | UTW_USR | VARCHAR2(30 BYTE) | USER |
Uniqueness | Index Name | Type | Columns | Partitions | Partition Type | Partition Columns | Subpartition Type | Subpartition Columns |
---|---|---|---|---|---|---|---|---|
UNIQUE | PK_USL_UM_POJ_ID | NORMAL | ID_REK | <none> | ||||
UNIQUE | UQ_USL_UM_POJ_PU | NORMAL | ID_UMOWY, ID_POJAZDU | <none> |
Constraint Name | Columns | Ref Table Owner | Referenced Table Name | Referenced Columns | Delete Rule | Status | Deferrable | Deferred |
---|---|---|---|---|---|---|---|---|
FK_USL_UM_POJ_ID_PO | ID_POJAZDU | F_54 | USLUGI_POJAZDY | ID_POJAZDU | NO ACTION | ENABLED | No | No |
FK_USL_UM_POJ_ID_UM | ID_UMOWY | F_54 | USLUGI_UMOWY | ID | NO ACTION | ENABLED | No | No |
Constraint Name | Type | Condition | Status | Columns |
---|---|---|---|---|
NN_USL_UM_POJ_ID | Check | "ID_REK" IS NOT NULL | ENABLED | ID_REK |
NN_USL_UM_POJ_ID_OB | Check | "ID_POJAZDU" IS NOT NULL | ENABLED | ID_POJAZDU |
NN_USL_UM_POJ_ID_UM | Check | "ID_UMOWY" IS NOT NULL | ENABLED | ID_UMOWY |
PK_USL_UM_POJ_ID | Primary Key | ENABLED | ID_REK | |
UQ_USL_UM_POJ_PU | Unique | ENABLED | ID_UMOWY, ID_POJAZDU |
Partitions |
Redaction Policies |