Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel met mogelijke gebouwtyperingen (functies) zoals onderwijsgebouw, logiesgebouw, kantoorgebouw
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbgebouwtype_dnkey_seq'::regclass) |
Primary key. |
|||
|
|
dvtype |
varchar(100) |
|
|
|
|
Gebouwtype zoals nachtopvang met meer dan 50 bedden |
|
|
ddvervaldatum |
timestamp |
|
|
|
|
Datum dat item vervallen is. |
|
dnkeycontrgebouwtype |
integer |
|
|
|
|
Foreign key naar TbContrGebouwType.dnkey. |
|
|
|
dvbrisgebruik |
varchar(50) |
|
|
|
|
Gebruiksfunctie volgens BRIS-toets. |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
cfk_tbgebouwtype_keyctrgeb |
dnkeycontrgebouwtype |
dnkey |
No Action |
No Action |
|
Immediate |
|
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_tbgebouwtype_type |
dvtype IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbgebouwtype |
btree |
|
dnkey |
|
Triggers
There are no triggers for table tbgebouwtype
Rules
There are no rules for table tbgebouwtype
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbgebouwen_keygebouwtype |
dnkeygebouwtype |
dnkey |
No Action |
No Action |
|
Immediate |
|
||
public |
cfk_toestemming_dnkeygebtype |
dnkeygebouwtype |
dnkey |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tbgebouwtype (
dnkey SERIAL,
dvtype VARCHAR(100),
ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
dnkeycontrgebouwtype INTEGER,
dvbrisgebruik VARCHAR(50),
CONSTRAINT cpk_tbgebouwtype PRIMARY KEY(dnkey),
CONSTRAINT cnn_tbgebouwtype_type CHECK (dvtype IS NOT NULL),
CONSTRAINT cfk_tbgebouwtype_keyctrgeb FOREIGN KEY (dnkeycontrgebouwtype)
REFERENCES public.tbcontrgebouwtype(dnkey)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
)
WITH (oids = false);
COMMENT ON TABLE public.tbgebouwtype
IS 'Tabel met mogelijke gebouwtyperingen (functies) zoals onderwijsgebouw, logiesgebouw, kantoorgebouw';
COMMENT ON COLUMN public.tbgebouwtype.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbgebouwtype.dvtype
IS 'Gebouwtype zoals nachtopvang met meer dan 50 bedden';
COMMENT ON COLUMN public.tbgebouwtype.ddvervaldatum
IS 'Datum dat item vervallen is.';
COMMENT ON COLUMN public.tbgebouwtype.dnkeycontrgebouwtype
IS 'Foreign key naar TbContrGebouwType.dnkey.';
COMMENT ON COLUMN public.tbgebouwtype.dvbrisgebruik
IS 'Gebruiksfunctie volgens BRIS-toets.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-2-2017 10:50 |
![]() ![]() ![]() |