Datadictionary OpenWave 3.1.11
Previous topic Chapter index Next topic

Table: tbhorrechtsvorm

 

 

Schema

public

 

Owner

waveuser005

 

Tablespace

(default)

 

Descriptions

Tabel met mogelijke rechtvormen zoals stichting, vof, eenmanszaak

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

dnkey

serial

 

nextval('tbhorrechtsvorm_dnkey_seq'::regclass)

Primary key.

 

 

dvomschrijving

varchar(30)

 

 

 

 

Omschrijving.

 

 

ddvervaldatum

timestamp

 

 

 

 

VervalDatum.

 

 

dvrechtsvorm

char(1)

 

 

 

 

(N)atuurlijk of (R)echtspersoon.

 

 

dleenmanszaak

char(1)

 

 

 

'F'::bpchar

(T)rue of (F)alse.

 

Foreign Keys

There are no foreign keys for table tbhorrechtsvorm

 

Check Constraints

Name

Condition

Description

chk_horrechtsvorm_eenmans

dleenmanszaak = ANY (ARRAY['T'::bpchar, 'F'::bpchar])

 

chk_horrechtsvorm_rechtsvorm

dvrechtsvorm = ANY (ARRAY['N'::bpchar, 'R'::bpchar])

 

cnn_horrechtsvorm_eenmans

dleenmanszaak IS NOT NULL

 

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

cpk_tbhorrechtsvorm

btree

 

dnkey

 

 

Triggers

There are no triggers for table tbhorrechtsvorm

 

Rules

There are no rules for table tbhorrechtsvorm

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

tbhorecavergunningen

public

cfk_horverg_rechtsvorm

dnkeyrechtsvorm

public.tbhorrechtsvorm

dnkey

No Action

No Action

 

Immediate

 

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

 

Definition

CREATE TABLE public.tbhorrechtsvorm (
 dnkey SERIAL,
 dvomschrijving VARCHAR(30),
 ddvervaldatum TIMESTAMP WITHOUT TIME ZONE,
 dvrechtsvorm CHAR(1),
 dleenmanszaak CHAR(1) DEFAULT 'F'::bpchar,
 CONSTRAINT cpk_tbhorrechtsvorm PRIMARY KEY(dnkey),
 CONSTRAINT chk_horrechtsvorm_eenmans CHECK (dleenmanszaak = ANY (ARRAY['T'::bpchar, 'F'::bpchar])),
 CONSTRAINT chk_horrechtsvorm_rechtsvorm CHECK (dvrechtsvorm = ANY (ARRAY['N'::bpchar, 'R'::bpchar])),
 CONSTRAINT cnn_horrechtsvorm_eenmans CHECK (dleenmanszaak IS NOT NULL)
)
WITH (oids = false);

COMMENT ON TABLE public.tbhorrechtsvorm
IS 'Tabel met mogelijke rechtvormen zoals stichting, vof, eenmanszaak';

COMMENT ON COLUMN public.tbhorrechtsvorm.dnkey
IS 'Primary key.';

COMMENT ON COLUMN public.tbhorrechtsvorm.dvomschrijving
IS 'Omschrijving.';

COMMENT ON COLUMN public.tbhorrechtsvorm.ddvervaldatum
IS 'VervalDatum.';

COMMENT ON COLUMN public.tbhorrechtsvorm.dvrechtsvorm
IS '(N)atuurlijk of (R)echtspersoon.';

COMMENT ON COLUMN public.tbhorrechtsvorm.dleenmanszaak
IS '(T)rue of (F)alse.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 22-2-2017 10:50
Previous topic Chapter index Next topic