mysql - Rows are deleted without using delete query -
i have strange problem in database. rows deleted when updated. don't use delete query anywhere. have history log logs data updation. can find particular row after updation on log (i have old data , updated data). after happens. can't figure out. particular row missing.
i have update trigger:
if (new.plandatevisite<>old.plandatevisite)then begin -- insert reportplanhisto (report_id,plandatevisite) values(old.id,new.plandatevisite); -- commented end; end if;
please help. in advance
Comments
Post a Comment