Schema F_54
Oracle Version 11.2.0.4.0
As Of 2022/09/19 13:58:07
Prior Table | Table PARAM_WARTOSCI | Next Table |
Comment |
---|
Tabela wartościami dla parametrów |
Column ID | Column Name | Datatype | Not Null | Data Default | Comments |
---|---|---|---|---|---|
1 | ID | NUMBER | Y | PK z sekwencji sq_Param_wartosci | |
2 | ID_SL_PARAM_PARAMETR | NUMBER | Y | FK do SL_param_parametry | |
3 | DATA_OD | DATE | FK do SL_DEK_TAGI | ||
4 | WARTOSC_DATE | DATE | Wartosć dla parametru określonego w słowniku SL_param_parametry.typ_danych jako D / Trigger trg_param_wartosci_zgodnosc pilnuje zgodności z typem danych określonym w słowniku/ Tylko jedna kolumn (Wartosc_date, Wartosc_number, Wartosc_varchar, Wartosc_CLOB, Wartosc_BLOB) może i musi być uzupełnione | ||
5 | WARTOSC_NUMBER | NUMBER | Wartosć dla parametru określonego w słowniku SL_param_parametry.typ_danych jako N / Trigger trg_param_wartosci_zgodnosc pilnuje zgodności z typem danych określonym w słowniku/ Tylko jedna kolumn (Wartosc_date, Wartosc_number, Wartosc_varchar, Wartosc_CLOB, Wartosc_BLOB) może i musi być uzupełnione | ||
6 | WARTOSC_VARCHAR | VARCHAR2(2000 CHAR) | Wartosć dla parametru określonego w słowniku SL_param_parametry.typ_danych jako V / Trigger trg_param_wartosci_zgodnosc pilnuje zgodności z typem danych określonym w słowniku/ Tylko jedna kolumn (Wartosc_date, Wartosc_number, Wartosc_varchar, Wartosc_CLOB, Wartosc_BLOB) może i musi być uzupełnione | ||
7 | WARTOSC_CLOB | CLOB | Wartosć dla parametru określonego w słowniku SL_param_parametry.typ_danych jako C / Trigger trg_param_wartosci_zgodnosc pilnuje zgodności z typem danych określonym w słowniku/ Tylko jedna kolumn (Wartosc_date, Wartosc_number, Wartosc_varchar, Wartosc_CLOB, Wartosc_BLOB) może i musi być uzupełnione | ||
8 | WARTOSC_BLOB | BLOB | Wartosć dla parametru określonego w słowniku SL_param_parametry.typ_danych jako B / Trigger trg_param_wartosci_zgodnosc pilnuje zgodności z typem danych określonym w słowniku/ Tylko jedna kolumn (Wartosc_date, Wartosc_number, Wartosc_varchar, Wartosc_CLOB, Wartosc_BLOB) może i musi być uzupełnione | ||
9 | CZY_LISTA | CHAR(1 BYTE) | Y | 'N' | Czy parametr zawiera listę wartości w PARAM_WARTOSCI_LISTY? T/N. |
10 | CZY_LISTA_UPORZADKOWANA | CHAR(1 BYTE) | Y | 'N' | Czy lista wartości jest uporządkowana: T/N? Jeśli T, to kolumna param_wartosci_listy.kolejnosc zawiera liczbę porządkową dla każdej wartości. |
Uniqueness | Index Name | Type | Columns | Partitions | Partition Type | Partition Columns | Subpartition Type | Subpartition Columns |
---|---|---|---|---|---|---|---|---|
UNIQUE | PK_PARAM_WARTOSCI | NORMAL | ID | <none> | ||||
UNIQUE | UQ_DEK_PARAMETRY | NORMAL | ID_SL_PARAM_PARAMETR, DATA_OD | <none> |
Constraint Name | Columns | Ref Table Owner | Referenced Table Name | Referenced Columns | Delete Rule | Status | Deferrable | Deferred |
---|---|---|---|---|---|---|---|---|
FK_PARAM_WARTOSCI_SL_PARAM | ID_SL_PARAM_PARAMETR | F_54 | SL_PARAM_PARAMETRY | ID | NO ACTION | ENABLED | No | No |
Constraint Name | Type | Condition | Status | Columns |
---|---|---|---|---|
CH_PARAM_WARTOSCI_WARTOSCI | Check | ( Wartosc_date is not null and Wartosc_number is null and Wartosc_varchar is null and Wartosc_CLOB is null and Wartosc_BLOB is null and czy_lista = 'N') or ( Wartosc_date is null and Wartosc_number is not null and Wartosc_varchar is null and Wartosc_CLOB is null and Wartosc_BLOB is null and czy_lista = 'N') or ( Wartosc_date is null and Wartosc_number is null and Wartosc_varchar is not null and Wartosc_CLOB is null and Wartosc_BLOB is null and czy_lista = 'N') or ( Wartosc_date is null and Wartosc_number is null and Wartosc_varchar is null and Wartosc_CLOB is not null and Wartosc_BLOB is null and czy_lista = 'N') or ( Wartosc_date is null and Wartosc_number is null and Wartosc_varchar is null and Wartosc_CLOB is null and Wartosc_BLOB is not null and czy_lista = 'N') or ( Wartosc_date is null and Wartosc_number is null and Wartosc_varchar is null and Wartosc_CLOB is null and Wartosc_BLOB is null and czy_lista = 'T') | ENABLED | CZY_LISTA, WARTOSC_BLOB, WARTOSC_CLOB, WARTOSC_DATE, WARTOSC_NUMBER, WARTOSC_VARCHAR |
CK_PARAM_WARTOSCI_CZY_LISTA | Check | czy_lista in ('N','T') | ENABLED | CZY_LISTA |
CK_PARAM_WARTOSCI_CZY_LISTA_UP | Check | czy_lista in ('N','T') | ENABLED | CZY_LISTA |
NN_PARAM_WARTOSCI_CZY_LISTA | Check | "CZY_LISTA" IS NOT NULL | ENABLED | CZY_LISTA |
NN_PARAM_WARTOSCI_CZY_LISTA_UP | Check | "CZY_LISTA_UPORZADKOWANA" IS NOT NULL | ENABLED | CZY_LISTA_UPORZADKOWANA |
NN_PARAM_WARTOSCI_ID_SL_PARAM | Check | "ID_SL_PARAM_PARAMETR" IS NOT NULL | ENABLED | ID_SL_PARAM_PARAMETR |
PK_PARAM_WARTOSCI | Primary Key | ENABLED | ID | |
UQ_DEK_PARAMETRY | Unique | ENABLED | ID_SL_PARAM_PARAMETR, DATA_OD |
Partitions |
Redaction Policies |