R
Rolando São Marcos
I have the following table:
PartnerType (RefIDNPartner LONG, RefIDType LONG, BeginDate DATETIME, EndDate
DATETIME, PRIMARY KEY (RefIDNPartner, RefIDType),
FOREIGN KEY (RefIDNPartner) REFERENCES Partner(IDNPartner),
FOREIGN KEY (RefIDType) REFERENCES Type(IDType));
When i introduce a new register, i want the EndDate field of register1 has
the same date that the BeginDate filed of register2 that i am introducing.
I wope i make myself clear.
Thanks.
PartnerType (RefIDNPartner LONG, RefIDType LONG, BeginDate DATETIME, EndDate
DATETIME, PRIMARY KEY (RefIDNPartner, RefIDType),
FOREIGN KEY (RefIDNPartner) REFERENCES Partner(IDNPartner),
FOREIGN KEY (RefIDType) REFERENCES Type(IDType));
When i introduce a new register, i want the EndDate field of register1 has
the same date that the BeginDate filed of register2 that i am introducing.
I wope i make myself clear.
Thanks.