Schema
public
Owner
postgres
Tablespace
(default)
Descriptions
Table associant une variable à une étude pour y spécifier une définition particulière ou la codification
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
srg_var_id |
integer |
|
|
|
Identifiant automatique de la variable concernée. |
|||
srg_etu_id |
integer |
|
|
|
Identifiant automatique de l'étude associée. |
|||
|
|
srg_surcharge_description |
varchar(255) |
|
|
|
|
|
|
|
srg_codification |
varchar(96) |
|
|
|
|
|
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
srg_etu_id |
etu_id |
No Action |
No Action |
|
Immediate |
Le champ srg_etu_id correspond obligatoirement à une étude existante |
||
srg_var_id |
var_id |
No Action |
No Action |
|
Immediate |
Le champ srg_var_id correspond obligatoirement à une variable existante |
Check Constraints
There are no check constraints for table tj_surcharge_codification_var_etu_srg
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
srg_var_id, srg_etu_id |
|
|||
btree |
|
srg_etu_id |
|
|
Index de clé étrangère pour accélérer les mises à jour / suppression |
|
btree |
|
srg_var_id |
|
|
Index de clé étrangère pour accélérer les mises à jour / suppression |
Triggers
There are no triggers for table tj_surcharge_codification_var_etu_srg
Rules
There are no rules for table tj_surcharge_codification_var_etu_srg
Policies
There are no policies for table tj_surcharge_codification_var_etu_srg
Referenced
There are no tables referenced by table tj_surcharge_codification_var_etu_srg
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
17 |
Pages |
1 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tj_surcharge_codification_var_etu_srg (
srg_var_id INTEGER NOT NULL,
srg_etu_id INTEGER NOT NULL,
srg_surcharge_description VARCHAR(255),
srg_codification VARCHAR(96),
CONSTRAINT tj_surcharge_codification_var_etu_srg_pkey PRIMARY KEY(srg_var_id, srg_etu_id),
CONSTRAINT c_fk_etu_srg FOREIGN KEY (srg_etu_id)
REFERENCES public.t_etude_etu(etu_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_var_srg FOREIGN KEY (srg_var_id)
REFERENCES public.tr_variable_var(var_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.tj_surcharge_codification_var_etu_srg
IS 'Table associant une variable à une étude pour y spécifier une définition particulière ou la codification';
COMMENT ON COLUMN public.tj_surcharge_codification_var_etu_srg.srg_var_id
IS 'Identifiant automatique de la variable concernée.';
COMMENT ON COLUMN public.tj_surcharge_codification_var_etu_srg.srg_etu_id
IS 'Identifiant automatique de l''étude associée.';
COMMENT ON CONSTRAINT c_fk_etu_srg ON public.tj_surcharge_codification_var_etu_srg
IS 'Le champ srg_etu_id correspond obligatoirement à une étude existante';
COMMENT ON CONSTRAINT c_fk_var_srg ON public.tj_surcharge_codification_var_etu_srg
IS 'Le champ srg_var_id correspond obligatoirement à une variable existante';
CREATE INDEX x_btr_etu_srg ON public.tj_surcharge_codification_var_etu_srg
USING btree (srg_etu_id);
COMMENT ON INDEX public.x_btr_etu_srg
IS 'Index de clé étrangère pour accélérer les mises à jour / suppression';
CREATE INDEX x_btr_var_srg ON public.tj_surcharge_codification_var_etu_srg
USING btree (srg_var_id);
COMMENT ON INDEX public.x_btr_var_srg
IS 'Index de clé étrangère pour accélérer les mises à jour / suppression';
This file was generated with SQL Manager 2011 for PostgreSQL (www.pgsqlmanager.com) at 28/03/2012 14:37 |