MySQL Forums
Forum List  »  Triggers

Starting Trigger
Posted by: Fabio Maisto
Date: October 10, 2005 06:08AM

Hi all,
I'm stating to use the trigger,
using the trigger present at the following link:
http://dev.mysql.com/doc/mysql/en/create-trigger.html


I had create the trigger as in the example but whene I try to run the following INSERT,

INSERT INTO test1 VALUES (1), (3), (1), (7), (1), (8), (4), (4);

MySql return me the following error:
ERROR 1100 (HY000): Table 'test2' was not locked with LOCK TABLES

Can You help me?

Thank's and regards
Fabio

Options: ReplyQuote


Subject
Views
Written By
Posted
Starting Trigger
2438
October 10, 2005 06:08AM
1851
October 10, 2005 11:01AM
1921
October 11, 2005 12:42AM


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.