Description
(There is no description for table GRUPORETENCIONES)
Fields
PK | FK | Field | Domain | Type | NN | Default | Description |
---|---|---|---|---|---|---|---|
CODESQRETENCION |
|
CHAR(5) |
|
|
|||
CODTIPORETENCION |
|
CHAR(5) |
|
|
Triggers
(There are no triggers for table GRUPORETENCIONES)
Indices
Index | Fields | Active | Unique | Order |
---|---|---|---|---|
CODESQRETENCION |
ASC |
|||
CODTIPORETENCION |
ASC |
|||
CODESQRETENCION, CODTIPORETENCION |
ASC |
References
Table | Foreign Key | Fields | FK Field | Delete Rule | Update Rule |
---|---|---|---|---|---|
CODESQRETENCION |
CODIGO |
NO ACTION |
CASCADE |
||
CODTIPORETENCION |
CODIGO |
NO ACTION |
CASCADE |
Referenced By
(There are no tables referenced by table GRUPORETENCIONES)
Definition
CREATE TABLE GRUPORETENCIONES (
CODESQRETENCION CHAR(5) NOT NULL,
CODTIPORETENCION CHAR(5) NOT NULL
);
ALTER TABLE GRUPORETENCIONES ADD CONSTRAINT PK_GRUPORETENCIONES PRIMARY KEY (CODESQRETENCION, CODTIPORETENCION);
ALTER TABLE GRUPORETENCIONES ADD CONSTRAINT FK_GRUPORETENCIONES_1 FOREIGN KEY (CODESQRETENCION) REFERENCES ESQRETENCIONES (CODIGO) ON UPDATE CASCADE;
ALTER TABLE GRUPORETENCIONES ADD CONSTRAINT FK_GRUPORETENCIONES_2 FOREIGN KEY (CODTIPORETENCION) REFERENCES TIPORETENCIONES (CODIGO) ON UPDATE CASCADE;
![]() ![]() ![]() |