Datadictionary OpenWave 3.1.11
Previous topic Chapter index Next topic

View: vwfrmgebouwtype

 

 

Schema

public

 

Owner

waveuser005

 

Descriptions

View van gebouwtyperingen. Basistabel tbgebouwtype

 

Fields

Name

Data type

Description

dnkey

integer

Primary key (tbgebouwtype.dnkey)

dvtype

varchar(100)

Gebouwtype zoals nachtopvang met meer dan 50 bedden

ddvervaldatum

timestamp

Datum dat item vervallen is.

dvbrisgebruik

varchar(50)

Gebruiksfunctie volgens BRIS-toets.

dvcontrcode

varchar(5)

Codering die gebruikt wordt bij het berekenen van de cyclische brandweercontrole

dvcontrstring

varchar(50)

Betekenis van de codering die gebruikt wordt bij het berekenen van de cyclische brandweercontrole

dnkeycontrgebouwtype

integer

Foreign key naar TbContrGebouwType.dnkey.

 

Rules

Name

Event

Instead

Condition

Description

_RETURN

SELECT

 

 

 

Definition

CREATE VIEW public.vwfrmgebouwtype (
   dnkey,
   dvtype,
   ddvervaldatum,
   dvbrisgebruik,
   dvcontrcode,
   dvcontrstring,
   dnkeycontrgebouwtype)
AS
SELECT
tbgebouwtype.dnkey, tbgebouwtype.dvtype, tbgebouwtype.ddvervaldatum,
   tbgebouwtype.dvbrisgebruik, tbcontrgebouwtype.dvcode AS dvcontrcode,
   tbcontrgebouwtype.dvomschrijving AS dvcontrstring,
   tbgebouwtype.dnkeycontrgebouwtype
FROM tbgebouwtype
  LEFT JOIN tbcontrgebouwtype ON tbgebouwtype.dnkeycontrgebouwtype =
      tbcontrgebouwtype.dnkey;

COMMENT ON VIEW public.vwfrmgebouwtype
IS 'View van gebouwtyperingen. Basistabel tbgebouwtype';

COMMENT ON COLUMN public.vwfrmgebouwtype.dnkey
IS 'Primary key  (tbgebouwtype.dnkey)';

COMMENT ON COLUMN public.vwfrmgebouwtype.dvtype
IS 'Gebouwtype zoals nachtopvang met meer dan 50 bedden';

COMMENT ON COLUMN public.vwfrmgebouwtype.ddvervaldatum
IS 'Datum dat item vervallen is.';

COMMENT ON COLUMN public.vwfrmgebouwtype.dvbrisgebruik
IS 'Gebruiksfunctie volgens BRIS-toets.';

COMMENT ON COLUMN public.vwfrmgebouwtype.dvcontrcode
IS 'Codering die gebruikt wordt bij het berekenen van de cyclische brandweercontrole';

COMMENT ON COLUMN public.vwfrmgebouwtype.dvcontrstring
IS 'Betekenis van de codering die gebruikt wordt bij het berekenen van de cyclische brandweercontrole';

COMMENT ON COLUMN public.vwfrmgebouwtype.dnkeycontrgebouwtype
IS 'Foreign key naar TbContrGebouwType.dnkey.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-2-2017 10:50
Previous topic Chapter index Next topic