Schema
Owner
postgres
Tablespace
(default)
Descriptions
Table contenant la liste des sexes
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
sex_id |
serial |
|
nextval('tr_sexe_sex_sex_id_seq'::regclass) |
Identifiant automatique du sexe |
|||
|
|
sex_libelle |
varchar(30) |
|
|
Libelle du sexe |
Foreign Keys
There are no foreign keys for table tr_sexe_sex
Check Constraints
There are no check constraints for table tr_sexe_sex
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
sex_libelle |
|
le champ sex_libelle ne peut contenir de doublons |
||
btree |
|
sex_id |
|
Triggers
There are no triggers for table tr_sexe_sex
Rules
There are no rules for table tr_sexe_sex
Policies
There are no policies for table tr_sexe_sex
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
mes_sex_id |
sex_id |
No Action |
No Action |
|
Immediate |
Une mesure est associée à un et un seul sexe |
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
4 |
Pages |
1 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tr_sexe_sex (
sex_id SERIAL,
sex_libelle VARCHAR(30) NOT NULL,
CONSTRAINT c_uni_libelle_sex UNIQUE(sex_libelle),
CONSTRAINT tr_sexe_sex_pkey PRIMARY KEY(sex_id)
)
WITH (oids = false);
COMMENT ON TABLE public.tr_sexe_sex
IS 'Table contenant la liste des sexes';
COMMENT ON COLUMN public.tr_sexe_sex.sex_id
IS 'Identifiant automatique du sexe';
COMMENT ON COLUMN public.tr_sexe_sex.sex_libelle
IS 'Libelle du sexe';
COMMENT ON CONSTRAINT c_uni_libelle_sex ON public.tr_sexe_sex
IS 'le champ sex_libelle ne peut contenir de doublons';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |