Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel met mogelijke brandweer-installaties
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbbwinstallaties_dnkey_seq'::regclass) |
Primary key. |
|||
|
|
dvcode |
varchar(10) |
|
|
|
|
Codering van de installatie |
|
|
dvinstallatie |
varchar(50) |
|
|
|
|
Omschrijving van de installatie. |
|
|
ddvervaldatum |
timestamp |
|
|
|
|
Datum waarop installatie is vervallen. |
Foreign Keys
There are no foreign keys for table tbbwinstallaties
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_tbbwinstallaties_code |
dvcode IS NOT NULL |
|
cnn_tbbwinstallaties_inst |
dvinstallatie IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbbwinstallaties |
btree |
|
dnkey |
|
Triggers
There are no triggers for table tbbwinstallaties
Rules
There are no rules for table tbbwinstallaties
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbomgbwinst_keybwinst |
dnkeybwinstallaties |
dnkey |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tbbwinstallaties (
dnkey SERIAL,
dvcode VARCHAR(10),
dvinstallatie VARCHAR(50),
ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
CONSTRAINT cpk_tbbwinstallaties PRIMARY KEY(dnkey),
CONSTRAINT cnn_tbbwinstallaties_code CHECK (dvcode IS NOT NULL),
CONSTRAINT cnn_tbbwinstallaties_inst CHECK (dvinstallatie IS NOT NULL)
)
WITH (oids = false);
COMMENT ON TABLE public.tbbwinstallaties
IS 'Tabel met mogelijke brandweer-installaties';
COMMENT ON COLUMN public.tbbwinstallaties.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbbwinstallaties.dvcode
IS 'Codering van de installatie';
COMMENT ON COLUMN public.tbbwinstallaties.dvinstallatie
IS 'Omschrijving van de installatie.';
COMMENT ON COLUMN public.tbbwinstallaties.ddvervaldatum
IS 'Datum waarop installatie is vervallen.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-2-2017 10:50 |
![]() ![]() ![]() |