credit_bd_insert.sql_확인해서다시구현요 206 B

123456
  1. DELIMITER //
  2. CREATE TRIGGER credit_bd_insert AFTER INSERT ON dbr_credit_bd
  3. FOR EACH ROW BEGIN
  4. UPDATE dbr_company SET curr_credit_bal = new.bal_amt WHERE id = new.buyer_id;
  5. END//
  6. DELIMITER ;