Error 1064 while defining a trigger

Error 1064 while defining a trigger

am 08.09.2005 18:21:47 von Pranav Lal

Hi all,

I am trying to define the following trigger in mysql.



CREATE TRIGGER deltot before INSERT ON ts1
for each row BEGIN
delete from ts1 where activity_details="totals";
END|

When I execute this, I get a 1064 error. It seems to be an error with
the sql that I have written but I am unable to find the problem.

Any one any thoughts?
Pranav


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org