Datadictionary OpenWave 3.1.25
Previous topic Chapter index Next topic

Table: tbbezwaarcontacten

 

 

Schema

public

 

Owner

waveuser005

 

Tablespace

(default)

 

Descriptions

Koppeltabel tussen tbadressoorten en tbcontactadressen en tbbezwaarberoep: welke contactadressen zijn onder welke rol verbonden aan een bezaar/beroepszaak

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

dnkey

serial

 

nextval('tbbezwaarcontacten_dnkey_seq'::regclass)

Primary key.

 

dnkeybezwaarberoep

integer

 

 

 

 

Foreign key naar Tbbezwaarberoep.dnkey Te zamen met dvcodeadressoort en dnkeycontactadressen uniek.

 

dvcodeadressoort

char(3)

 

 

 

 

Foreign key naar TbAdressoort.dvcode

 

dnkeycontactadressen

integer

 

 

 

 

Foreign key naar TbContactAdressen.dnkey

 

Foreign Keys

Name

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

cfk_bezwaarcont_codadressrt

dvcodeadressoort

public.tbadressoort

dvcode

No Action

No Action

 

Immediate

 

cfk_bezwaarcont_keybezw

dnkeybezwaarberoep

public.tbbezwaarberoep

dnkey

Cascade

No Action

 

Immediate

 

cfk_bezwaarcont_keycont

dnkeycontactadressen

public.tbcontactadressen

dnkey

No Action

No Action

 

Immediate

 

 

Check Constraints

Name

Condition

Description

cnn_bezwaarcont_codadressrt

dvcodeadressoort IS NOT NULL

 

cnn_bezwaarcont_keybezw

dnkeybezwaarberoep IS NOT NULL

 

cnn_bezwaarcont_keycont

dnkeycontactadressen IS NOT NULL

 

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

cpk_tbbezwaarcontacten

btree

 

dnkey

 

idu_bezwaarcont_groep_key

btree

 

dnkeybezwaarberoep, dvcodeadressoort, dnkeycontactadressen

 

 

idx_bezwaarcont_keybezwaar

btree

 

dnkeybezwaarberoep

 

 

 

idx_bezwaarcont_keycont

btree

 

dnkeycontactadressen

 

 

 

 

Triggers

There are no triggers for table tbbezwaarcontacten

 

Rules

There are no rules for table tbbezwaarcontacten

 

Policies

There are no policies for table tbbezwaarcontacten

 

Referenced

There are no tables referenced by table tbbezwaarcontacten

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tbbezwaarcontacten (
 dnkey SERIAL,
 dnkeybezwaarberoep INTEGER,
 dvcodeadressoort CHAR(3),
 dnkeycontactadressen INTEGER,
 CONSTRAINT cpk_tbbezwaarcontacten PRIMARY KEY(dnkey),
 CONSTRAINT cnn_bezwaarcont_codadressrt CHECK (dvcodeadressoort IS NOT NULL),
 CONSTRAINT cnn_bezwaarcont_keybezw CHECK (dnkeybezwaarberoep IS NOT NULL),
 CONSTRAINT cnn_bezwaarcont_keycont CHECK (dnkeycontactadressen IS NOT NULL),
 CONSTRAINT cfk_bezwaarcont_codadressrt FOREIGN KEY (dvcodeadressoort)
   REFERENCES public.tbadressoort(dvcode)
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE
,
 CONSTRAINT cfk_bezwaarcont_keybezw FOREIGN KEY (dnkeybezwaarberoep)
   REFERENCES public.tbbezwaarberoep(dnkey)
   ON DELETE CASCADE
   ON UPDATE NO ACTION
   NOT DEFERRABLE
,
 CONSTRAINT cfk_bezwaarcont_keycont FOREIGN KEY (dnkeycontactadressen)
   REFERENCES public.tbcontactadressen(dnkey)
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE

) ;

COMMENT ON TABLE public.tbbezwaarcontacten
IS 'Koppeltabel tussen tbadressoorten en tbcontactadressen en tbbezwaarberoep: welke contactadressen zijn onder welke rol verbonden aan een bezaar/beroepszaak';

COMMENT ON COLUMN public.tbbezwaarcontacten.dnkey
IS 'Primary key.';

COMMENT ON COLUMN public.tbbezwaarcontacten.dnkeybezwaarberoep
IS 'Foreign key naar Tbbezwaarberoep.dnkey Te zamen met dvcodeadressoort en dnkeycontactadressen uniek.';

COMMENT ON COLUMN public.tbbezwaarcontacten.dvcodeadressoort
IS 'Foreign key naar TbAdressoort.dvcode';

COMMENT ON COLUMN public.tbbezwaarcontacten.dnkeycontactadressen
IS 'Foreign key naar TbContactAdressen.dnkey';

CREATE UNIQUE INDEX idu_bezwaarcont_groep_key ON public.tbbezwaarcontacten
 USING btree (dnkeybezwaarberoep, dvcodeadressoort COLLATE pg_catalog."default", dnkeycontactadressen);

CREATE INDEX idx_bezwaarcont_keybezwaar ON public.tbbezwaarcontacten
 USING btree (dnkeybezwaarberoep);

CREATE INDEX idx_bezwaarcont_keycont ON public.tbbezwaarcontacten
 USING btree (dnkeycontactadressen);

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 5-1-2022 14:13
Previous topic Chapter index Next topic