Re: calculated field
I figure it out!
CREATE DEFINER = CURRENT_USER TRIGGER `ISPBG`.`tblCircuitID_BEFORE_UPDATE` BEFORE UPDATE ON `tblCircuitID` FOR EACH ROW
begin
set @vCID = (select concat_ws('-',new.CustomerIDFK,new.NodeNumIDFK,new.ONT,new.VLAN) from tblCircuitID where CustomerIDFK = old.CustomerIDFK);
set new.CID = @vCID;
end;
Subject
Views
Written By
Posted
2791
November 28, 2014 11:37AM
1790
November 28, 2014 12:40PM
Re: calculated field
1536
November 28, 2014 02:47PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.