Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel van mogelijke stofklassen van Zeer Zorgwerkende Stoffen
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbmilzzsklasse_dnkey_seq'::regclass) |
Primary key. |
|||
|
|
dvcode |
varchar(5) |
|
|
|
|
Code stofklasse. |
|
|
dvomschrijving |
varchar(60) |
|
|
|
|
Omschrijving stofklasse. |
|
|
ddvervaldatum |
timestamp |
|
|
|
|
Datum dat de stofklasse niet meer kan worden gekozen. |
Foreign Keys
There are no foreign keys for table tbmilzzsklasse
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_tbmilzzsklasse_code |
dvcode IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbmilzzsklasse |
btree |
|
dnkey |
|
||
idu_milzzsklasse_dvcode |
btree |
|
(lower((dvcode)::text)) |
|
|
Triggers
There are no triggers for table tbmilzzsklasse
Rules
There are no rules for table tbmilzzsklasse
Policies
There are no policies for table tbmilzzsklasse
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbmilemlct_keymilzzskl |
dnkeymilzzsklasse |
dnkey |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tbmilzzsklasse (
dnkey SERIAL,
dvcode VARCHAR(5),
dvomschrijving VARCHAR(60),
ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
CONSTRAINT cpk_tbmilzzsklasse PRIMARY KEY(dnkey),
CONSTRAINT cnn_tbmilzzsklasse_code CHECK (dvcode IS NOT NULL)
) ;
COMMENT ON TABLE public.tbmilzzsklasse
IS 'Tabel van mogelijke stofklassen van Zeer Zorgwerkende Stoffen';
COMMENT ON COLUMN public.tbmilzzsklasse.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbmilzzsklasse.dvcode
IS 'Code stofklasse.';
COMMENT ON COLUMN public.tbmilzzsklasse.dvomschrijving
IS 'Omschrijving stofklasse.';
COMMENT ON COLUMN public.tbmilzzsklasse.ddvervaldatum
IS 'Datum dat de stofklasse niet meer kan worden gekozen.';
CREATE UNIQUE INDEX idu_milzzsklasse_dvcode ON public.tbmilzzsklasse
USING btree ((lower((dvcode)::text)) COLLATE pg_catalog."default");
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 5-1-2022 14:13 |
![]() ![]() ![]() |