Here's my trigger code:
DELIMITER $$

DROP TRIGGER /*!50032 IF EXISTS */ `piecerate`.`spUpdate_Queue`$$

create trigger `piecerate`.`spUpdate_Queue` AFTER UPDATE on 
`piecerate`.`queue`
for each row BEGIN
        call spUpdateQueueCounts(new.iorderid);
insert into crap (iid,iorderid) values (new.iid,new.iorderid);
   END;
$$

DELIMITER ;


To test, I do a simple update sql:

   UPDATE queue SET ipriority = ipriority

But when I look in the CRAP table, there's still no records.  I don't 
get it...what's missing?

Time for bed I guess...

tia if you can see something I can't!
--Michael


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to