drop TRIGGER  xyxinfo_insert;
CREATE TRIGGER xyxinfo_insert after INSERT ON huixiabao.HmbXyxInfo FOR EACH ROW
BEGIN
	delete from huixiabao.HmbXyxInfo_Update u where u.xyxNo = NEW.xyxNo;
		INSERT INTO huixiabao.HmbXyxInfo_Update ( xyxNo, update_time )
	VALUES
		(
			new.xyxNo,
		SYSDATE());

END;


drop trigger xyxinfo_update;
create trigger xyxinfo_update after update on huixiabao.HmbXyxInfo FOR EACH ROW
BEGIN
	delete from huixiabao.HmbXyxInfo_Update u where u.xyxNo = NEW.xyxNo;
		INSERT INTO huixiabao.HmbXyxInfo_Update ( xyxNo, update_time )
	VALUES
		(
			new.xyxNo,
		SYSDATE());

END;