Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel van mogelijkheden waarop een inrichting kan worden ingedeeld naar bedrijfsoort
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbmilbedrijfsoort_dnkey_seq'::regclass) |
Primary key. |
|||
|
|
dvcode |
varchar(5) |
|
|
|
|
Codering bedrijfssoort. |
|
|
dvomschrijving |
varchar(60) |
|
|
|
|
Omschrijving bedrijfsoort. |
|
|
ddvervaldatum |
timestamp |
|
|
|
|
|
Foreign Keys
There are no foreign keys for table tbmilbedrijfsoort
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_milbedrsrt_code |
dvcode IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbmilbedrijfsoort |
btree |
|
dnkey |
|
||
idx_milbedrsrt_vervaldatum |
btree |
|
ddvervaldatum |
|
|
|
Triggers
There are no triggers for table tbmilbedrijfsoort
Rules
There are no rules for table tbmilbedrijfsoort
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbmilinricht_keybedrsrt |
dnkeymilbedrijfsoort |
dnkey |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tbmilbedrijfsoort (
dnkey SERIAL,
dvcode VARCHAR(5),
dvomschrijving VARCHAR(60),
ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
CONSTRAINT cpk_tbmilbedrijfsoort PRIMARY KEY(dnkey),
CONSTRAINT cnn_milbedrsrt_code CHECK (dvcode IS NOT NULL)
)
WITH (oids = false);
COMMENT ON TABLE public.tbmilbedrijfsoort
IS 'Tabel van mogelijkheden waarop een inrichting kan worden ingedeeld naar bedrijfsoort';
COMMENT ON COLUMN public.tbmilbedrijfsoort.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbmilbedrijfsoort.dvcode
IS 'Codering bedrijfssoort.';
COMMENT ON COLUMN public.tbmilbedrijfsoort.dvomschrijving
IS 'Omschrijving bedrijfsoort.';
CREATE INDEX idx_milbedrsrt_vervaldatum ON public.tbmilbedrijfsoort
USING btree (ddvervaldatum);
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-2-2017 10:50 |
![]() ![]() ![]() |