Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel met aantallen voor een type woning en het aantal waarmee gerekend moet worden bij seriebouw bij berekening vastgestelde kosten
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbroebstaffel_dnkey_seq'::regclass) |
Primary key. |
|||
|
|
dnaantalvanaftype |
integer |
|
|
|
|
Aantal vanaf per type woning. |
|
|
dnaantalrekenenmet |
integer |
|
|
|
|
Aantal waarmee gerekend moet worden |
|
|
dddatumvanaf |
timestamp |
|
|
|
|
Datum vanf dat deze aantallen geldig zijn (wordt vergeleken met de startdatum van de zaak) |
Foreign Keys
There are no foreign keys for table tbroebstaffel
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_tbroebstaffel_dddatvanaf |
dddatumvanaf IS NOT NULL |
|
cnn_tbroebstaffel_dnaantrek |
dnaantalrekenenmet IS NOT NULL |
|
cnn_tbroebstaffel_dnaantvanaf |
dnaantalvanaftype IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbroebstaffel |
btree |
|
dnkey |
|
||
idu_roebstaffel_aant |
btree |
|
dnaantalvanaftype, dddatumvanaf |
|
|
Triggers
There are no triggers for table tbroebstaffel
Rules
There are no rules for table tbroebstaffel
Policies
There are no policies for table tbroebstaffel
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbroebtoest_keyroebstaffel |
dnkeyroebstaffel |
dnkey |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tbroebstaffel (
dnkey SERIAL,
dnaantalvanaftype INTEGER,
dnaantalrekenenmet INTEGER,
dddatumvanaf TIMESTAMP WITHOUT TIME ZONE,
CONSTRAINT cpk_tbroebstaffel PRIMARY KEY(dnkey),
CONSTRAINT cnn_tbroebstaffel_dddatvanaf CHECK (dddatumvanaf IS NOT NULL),
CONSTRAINT cnn_tbroebstaffel_dnaantrek CHECK (dnaantalrekenenmet IS NOT NULL),
CONSTRAINT cnn_tbroebstaffel_dnaantvanaf CHECK (dnaantalvanaftype IS NOT NULL)
) ;
COMMENT ON TABLE public.tbroebstaffel
IS 'Tabel met aantallen voor een type woning en het aantal waarmee gerekend moet worden bij seriebouw bij berekening vastgestelde kosten ';
COMMENT ON COLUMN public.tbroebstaffel.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbroebstaffel.dnaantalvanaftype
IS 'Aantal vanaf per type woning.';
COMMENT ON COLUMN public.tbroebstaffel.dnaantalrekenenmet
IS 'Aantal waarmee gerekend moet worden';
COMMENT ON COLUMN public.tbroebstaffel.dddatumvanaf
IS 'Datum vanf dat deze aantallen geldig zijn (wordt vergeleken met de startdatum van de zaak)';
CREATE UNIQUE INDEX idu_roebstaffel_aant ON public.tbroebstaffel
USING btree (dnaantalvanaftype, dddatumvanaf);
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 5-1-2022 14:13 |
![]() ![]() ![]() |