|
Glenn,
There is a slight syntax error (I think) in your code. The right syntax
should be:
REFERENCING OLD AS oldtable
NEW AS newtable
Just drop the "TABLE" after OLD and/or NEW
HTH,
Luis
Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--
On Tue, Jan 6, 2015 at 11:21 AM, Glenn Gundermann <
glenn.gundermann@xxxxxxxxx> wrote:
Hi Jim,
I have the same manual but I don't see your point. What am I missing?
Yours truly,
Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Cell: (416) 317-3144
On 5 January 2015 at 22:48, Jim It <jim_it@xxxxxxxxxxx> wrote:
Trying again.
The only options for Referencing in CREATE TRIGGER statement are shown
below.
--+------------------------------------------------------------------+-->
| .-------------------------------------------------. |
| V .-ROW-. .-AS-. (1) | |
'-REFERENCING----+-OLD--+-----+--+----+--correlation-name--+-----+-'
| .-ROW-. .-AS-. |
+-NEW--+-----+--+----+--correlation-name--+
| .-AS-. |
+-+-OLD TABLE-+--+----+--table-identifier-+
| '-OLD_TABLE-' |
| .-AS-. |
'-+-NEW TABLE-+--+----+--table-identifier-'
'-NEW_TABLE-'
Jim
As an Amazon Associate we earn from qualifying purchases.
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.