Datadictionary OpenWave 3.1.11
Previous topic Chapter index Next topic

View: vwfrmmiltrefwoord

 

 

Schema

public

 

Owner

waveuser005

 

Descriptions

View van trefwoorden per inrichting. Basistabel tbmiltrefwoord

 

Fields

Name

Data type

Description

dnkeytrefwoord

integer

Primary key van de combinatie trefwoord/inrichting (tbmiltrefwoord.dnkey).

dnkeymilinrichtingen

integer

Foreign key naar de inrichting (tbmilinrichtingen.dnkey) waar het trefwoord aan is gekoppeld.

dnkeymilcodetrefw

integer

Foreign key naar de codetabel trefwoorden (tbmilcodetrefw.dnkey) waar het trefwoord aan is gekoppeld.

dvopmerking

varchar(60)

Opmerking bij de combinatie trefwoord/inrichting.

dvtrefwoordcode

varchar(5)

Codering van het trefwoord in de tabel tbmilcodetrefw

dvtrefwoordoms

varchar(60)

Naam/omschrijving van het trefwoord in de tabel tbmilcodetrefw

 

Rules

Name

Event

Instead

Condition

Description

_RETURN

SELECT

 

 

 

Definition

CREATE VIEW public.vwfrmmiltrefwoord (
   dnkeytrefwoord,
   dnkeymilinrichtingen,
   dnkeymilcodetrefw,
   dvopmerking,
   dvtrefwoordcode,
   dvtrefwoordoms)
AS
SELECT
tbmiltrefwoord.dnkey AS dnkeytrefwoord,
   tbmiltrefwoord.dnkeymilinrichtingen, tbmiltrefwoord.dnkeymilcodetrefw,
   tbmiltrefwoord.dvopmerking, tbmilcodetrefw.dvcode AS dvtrefwoordcode,
   tbmilcodetrefw.dvomschrijving AS dvtrefwoordoms
FROM tbmiltrefwoord
  JOIN tbmilcodetrefw ON tbmiltrefwoord.dnkeymilcodetrefw = tbmilcodetrefw.dnkey;

COMMENT ON VIEW public.vwfrmmiltrefwoord
IS 'View van trefwoorden per inrichting. Basistabel tbmiltrefwoord';

COMMENT ON COLUMN public.vwfrmmiltrefwoord.dnkeytrefwoord
IS 'Primary key van de combinatie trefwoord/inrichting (tbmiltrefwoord.dnkey).';

COMMENT ON COLUMN public.vwfrmmiltrefwoord.dnkeymilinrichtingen
IS 'Foreign key naar de inrichting (tbmilinrichtingen.dnkey) waar het trefwoord aan is gekoppeld.';

COMMENT ON COLUMN public.vwfrmmiltrefwoord.dnkeymilcodetrefw
IS 'Foreign key naar de codetabel trefwoorden (tbmilcodetrefw.dnkey) waar het trefwoord aan is gekoppeld.';

COMMENT ON COLUMN public.vwfrmmiltrefwoord.dvopmerking
IS 'Opmerking bij de combinatie trefwoord/inrichting.';

COMMENT ON COLUMN public.vwfrmmiltrefwoord.dvtrefwoordcode
IS 'Codering van het trefwoord in de tabel tbmilcodetrefw';

COMMENT ON COLUMN public.vwfrmmiltrefwoord.dvtrefwoordoms
IS 'Naam/omschrijving van het trefwoord in de tabel tbmilcodetrefw';

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