× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ah!

AFAIK you cannot specify multiple events when creating an SQL trigger. At
least it doesn't look like it on CREATE TRIGGER

The "easiest" way I can think of is to use the iSeries Navigator GUI to
create the Insert trigger. When the trigger is created use the Generate SQL
option from the context menu of the trigger. In the Run SQL Scripts window
copy the SQL twice and change for UPDATE and DELETE and new trigger names.

Save the script so it is easy to change/re-run.

Regards
 
Paul Tuohy
ComCon
www.comconadvisor.com 
 

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Pantzopoulos -
(H/O)
Sent: 27 November 2006 22:30
To: midrange-l@xxxxxxxxxxxx
Subject: Multiple Events In a Single Trigger

Thanks Paul. 

 

You're right, the external trigger does allow multiple choices.

 

I was using the New/Trigger/SQL option.

 

We're running the v5r4 Ops Navigator, but it's connected to a v5r3
system. 

 

Thanks for your help. 

 

 

 

 

 


****************************************************************************
*****************************
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient, any use, disclosure or copying of
this message is unauthorised. If you have received this message in error,
please reply using the sender's email address. 

This footnote confirms that this email message has been scanned for computer
viruses. EIG-Ansvar Limited does not accept liability for any loss or
damage, whether caused by our own negligence or not, that results from a
computer virus or defect in the transmission of this email or any attached
file. 

EIG-Ansvar Limited - Australia (A.B.N. 21 007 216 506)
Email : insure@xxxxxxxxxxxxxxxx

Eig-Ansvar Limited - New Zealand
Email : insure@xxxxxxxxxxxxxxxx

****************************************************************************
*****************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.