Schema
public
Owner
waveuser005
Tablespace
(default)
Descriptions
Tabel met subcategorieen per hoofdcategorie ROEB tbv van berekening vastgestelde kosten
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
dnkey |
serial |
|
nextval('tbroebsubcat_dnkey_seq'::regclass) |
Primary key. |
|||
|
dnkeyroebhfdcat |
integer |
|
|
|
|
Foreign key naar tbroebhfdcat.dnkey |
|
|
|
dvsubcategorie |
varchar(100) |
|
|
|
|
Naam van de subcatgorie bijv. Bedrijfshal hoogte tussen 3 en 6 m. of Gemetselde Tuinmuur |
|
|
ddvervallen |
timestamp |
|
|
|
|
Datum dat subcategorie is komen te vervallen |
|
|
dvsubcatcode |
varchar(10) |
|
|
|
|
Codering van subcategorie |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
cfk_tbroebsubcat_keyroebhfdcat |
dnkeyroebhfdcat |
dnkey |
Cascade |
No Action |
|
Immediate |
|
Check Constraints
Name | Condition | Description |
---|---|---|
cnn_tbroebsubcat_keyroebhfdcat |
dnkeyroebhfdcat IS NOT NULL |
|
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
cpk_tbroebsubcat |
btree |
|
dnkey |
|
Triggers
There are no triggers for table tbroebsubcat
Rules
There are no rules for table tbroebsubcat
Policies
There are no policies for table tbroebsubcat
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
public |
cfk_tbroebprijzen_keyroebsbcat |
dnkeyroebsubcat |
dnkey |
Cascade |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tbroebsubcat (
dnkey SERIAL,
dnkeyroebhfdcat INTEGER,
dvsubcategorie VARCHAR(100),
ddvervallen TIMESTAMP WITHOUT TIME ZONE,
dvsubcatcode VARCHAR(10),
CONSTRAINT cpk_tbroebsubcat PRIMARY KEY(dnkey),
CONSTRAINT cnn_tbroebsubcat_keyroebhfdcat CHECK (dnkeyroebhfdcat IS NOT NULL),
CONSTRAINT cfk_tbroebsubcat_keyroebhfdcat FOREIGN KEY (dnkeyroebhfdcat)
REFERENCES public.tbroebhfdcat(dnkey)
ON DELETE CASCADE
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.tbroebsubcat
IS 'Tabel met subcategorieen per hoofdcategorie ROEB tbv van berekening vastgestelde kosten';
COMMENT ON COLUMN public.tbroebsubcat.dnkey
IS 'Primary key.';
COMMENT ON COLUMN public.tbroebsubcat.dnkeyroebhfdcat
IS 'Foreign key naar tbroebhfdcat.dnkey';
COMMENT ON COLUMN public.tbroebsubcat.dvsubcategorie
IS 'Naam van de subcatgorie bijv. Bedrijfshal hoogte tussen 3 en 6 m. of Gemetselde Tuinmuur';
COMMENT ON COLUMN public.tbroebsubcat.ddvervallen
IS 'Datum dat subcategorie is komen te vervallen';
COMMENT ON COLUMN public.tbroebsubcat.dvsubcatcode
IS 'Codering van subcategorie';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 5-1-2022 14:13 |
![]() ![]() ![]() |