Advertisement
VoronVU

MEMBER PROCEDURE save

Apr 8th, 2015
2,715
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  MEMBER PROCEDURE save IS
  2.   BEGIN
  3.     IF id IS NULL THEN RETURN; END IF;
  4.  
  5.     UPDATE client_campaign
  6.     SET    status_id     = SELF.Status,
  7.            campaign_next = SELF.NextDate,
  8.            campaign_end  = SELF.EndDate,
  9.            campaign_step = SELF.State
  10.     WHERE  campaign_id = SELF.ID;
  11.   END save;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement