MySQL Forums
Forum List  »  Triggers

Re: Check for existence of a trigger
Posted by: Paul McArdle
Date: June 26, 2005 11:10PM

look in /var/lib/mysql/databasename

there are files there *.TRG

#cat animal.TRG
TYPE=TRIGGERS
triggers='create trigger animal_bfi before insert on animal for each row set new.name = concat(new.name,\'_\',new.name)'


AHAHH.
drop trigger animal.animal_bfi;

Options: ReplyQuote


Subject
Views
Written By
Posted
8416
CMS
March 10, 2005 04:23PM
Re: Check for existence of a trigger
2947
June 26, 2005 11:10PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.