TYPE=TRIGGERS
triggers='CREATE DEFINER=`root`@`localhost` TRIGGER `sdd_mandamientos_before_ins_tr` BEFORE INSERT ON `sdd_mandamientos`\n  FOR EACH ROW\nBEGIN\nset NEW.c16_cuenta_ingreso_id=(select c16_cuenta_ingreso_id from sdm_tarifas where c16_tarifa_id=NEW.c16_tarifa_id);\nupdate sdm_mandamientos a\nset a.d82_total=a.d82_total+(new.d82_cantidad*new.d82_tarifa)\nwhere a.i8_mandamiento_id=new.i8_mandamiento_id;\nEND'
sql_modes=1344274432
definers='root@localhost'
client_cs_names='latin1'
connection_cl_names='latin1_swedish_ci'
db_cl_names='utf8_general_ci'
created=147045094415
