MySQL Forums
Forum List  »  Triggers

Re: Trigger with navicat
Posted by: Praneeth Kasam
Date: June 26, 2008 09:24AM

Please find the below trigger i have written using Navicat 8. Type in below format in Console(F6)


delimiter |
CREATE TRIGGER event_trg AFTER INSERT on integration
FOR EACH ROW
BEGIN
DECLARE event_id INT(50);
INSERT INTO eai_event (connector_id,object_key,object_name,object_verb,event_status,event_priority,event_time) VALUES ('CORConnector',NEW.staging_event_id,'CORINTEGRATION','Create',0,0,SYSDATE());
END; |

Options: ReplyQuote


Subject
Views
Written By
Posted
25832
February 18, 2008 11:23AM
10693
April 16, 2008 02:05PM
Re: Trigger with navicat
10785
June 26, 2008 09:24AM


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.