Schema
public
Owner
waveuser005
Descriptions
View van exploitatievergunningen per horeca vergunning. Basistabel tbhorexploitatie
Fields
Name | Data type | Description |
---|---|---|
dnkeyhorecavergunningen |
integer |
Primary key van de horecavergunningszaak (tbhorecavergunningen.dnkey) waar de exploitatievergunning aan verbonden is |
dvvergnummer |
varchar(20) |
Vergunningsnummer van de exploitatievergunning |
ddverleendvan |
timestamp |
De verleend vanaf datum van de exploitatievergunning |
ddverleendtot |
timestamp |
De verleend tot datum van de exploitatievergunning |
dvomschrijving |
varchar(2000) |
Nadere omschrijving van de exploitatievergunning |
dvsoortoverig |
varchar(50) |
Niet standaard categorisering van de exploitatievergunning |
dvsoort |
varchar(50) |
De standaard categorisering van de exploitatievergunning volgens tabel tbhorsoortexploitatie |
Rules
Name | Event | Instead | Condition | Description |
---|---|---|---|---|
_RETURN |
SELECT |
|
|
Definition
CREATE VIEW public.vwfrmhorexploitatie (
dnkeyhorecavergunningen,
dvvergnummer,
ddverleendvan,
ddverleendtot,
dvomschrijving,
dvsoortoverig,
dvsoort)
AS
SELECT tbhorexploitatie.dnkeyhorecavergunningen, tbhorexploitatie.dvvergnummer,
tbhorexploitatie.ddverleendvan, tbhorexploitatie.ddverleendtot,
tbhorexploitatie.dvomschrijving, tbhorexploitatie.dvsoortoverig,
tbhorsoortexploitatie.dvomschrijving AS dvsoort
FROM tbhorexploitatie
JOIN tbhorsoortexploitatie ON tbhorexploitatie.dnkeysoortexpl =
tbhorsoortexploitatie.dnkey;
COMMENT ON VIEW public.vwfrmhorexploitatie
IS 'View van exploitatievergunningen per horeca vergunning. Basistabel tbhorexploitatie';
COMMENT ON COLUMN public.vwfrmhorexploitatie.dnkeyhorecavergunningen
IS 'Primary key van de horecavergunningszaak (tbhorecavergunningen.dnkey) waar de exploitatievergunning aan verbonden is';
COMMENT ON COLUMN public.vwfrmhorexploitatie.dvvergnummer
IS 'Vergunningsnummer van de exploitatievergunning';
COMMENT ON COLUMN public.vwfrmhorexploitatie.ddverleendvan
IS 'De verleend vanaf datum van de exploitatievergunning';
COMMENT ON COLUMN public.vwfrmhorexploitatie.ddverleendtot
IS 'De verleend tot datum van de exploitatievergunning';
COMMENT ON COLUMN public.vwfrmhorexploitatie.dvomschrijving
IS 'Nadere omschrijving van de exploitatievergunning';
COMMENT ON COLUMN public.vwfrmhorexploitatie.dvsoortoverig
IS 'Niet standaard categorisering van de exploitatievergunning';
COMMENT ON COLUMN public.vwfrmhorexploitatie.dvsoort
IS 'De standaard categorisering van de exploitatievergunning volgens tabel tbhorsoortexploitatie';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-2-2017 10:50 |
![]() ![]() ![]() |