Comment for Table KDO_DZIELNICE
Comment
Tabela z informacjami o powiązaniu czasowym kontrahenta z dzielnicą

Columns of Table KDO_DZIELNICE
Column ID Column Name Datatype Not Null Data Default Comments
1 ID NUMBER Y   ID pozycji
2 NR_KONTR NUMBER     Numer kontrahenta z tabeli KDO
3 ID_DZIELNICY NUMBER     ID Dzielnicy z tabeli SL_DZIELNICE
4 DATA_OD DATE     Data od kiedy obowiązuje powiązanie
5 DATA_MODYFIKACJI DATE Y sysdate Data modyfikacji rekordu. Jeśli chcemy dodać taki sam rekord nr_kontr, data_od, id_dzielnicy, to aktualizujemy tylko data_modyfikacji

Indexes on Table KDO_DZIELNICE
Uniqueness Index Name Type Columns Partitions Partition Type Partition Columns Subpartition Type Subpartition Columns
NON-UNIQUE IX_KDODZIZIELN_IDDZIELNICY NORMAL ID_DZIELNICY <none>        
NON-UNIQUE IX_KDODZIZIELN_NRKONTR NORMAL NR_KONTR <none>        
UNIQUE PK_KDODZIELNICE_ID NORMAL ID <none>        

Foreign Key Constraints on Table KDO_DZIELNICE
Constraint Name Columns Ref Table Owner Referenced Table Name Referenced Columns Delete Rule Status Deferrable Deferred
FK_KDODZIELNICE_IDDZIELNICY ID_DZIELNICY F_54 SL_DZIELNICE ID NO ACTION ENABLED No No
FK_KDODZIELNICE_NRKONTR NR_KONTR F_54 KDO_WEW NR_KONTR NO ACTION ENABLED No No

PK, UK, & Check Constraints on Table KDO_DZIELNICE
Constraint Name Type Condition Status Columns
NN_KDO_DZIELNICE_DATA_MODYF Check "DATA_MODYFIKACJI" IS NOT NULL ENABLED DATA_MODYFIKACJI
PK_KDODZIELNICE_ID Primary Key   ENABLED ID

Table KDO_DZIELNICE does not have...
Partitions
Redaction Policies