Archives of the TeradataForum
Message Posted: Fri, 20 Sep 2002 @ 15:04:11 GMT
Subj: | | Update Trigger |
|
From: | | Fowler, Helen |
I'm looking for an example update trigger which updates the target table with Tdat DATE, CURRENT_TIME and USER information. I'm having
trouble with the syntax as documented in the manual.
For example this doesn't work:
CREATE TRIGGER DBQ_ITUSER.DOMESTIC_TRIGGER
AFTER UPDATE ON DBQ_ITUSER.DOMESTIC_PROD
REFERENCING OLD AS OLDROW NEW AS NEWROW
FOR EACH ROW ( UPDATE DBQ_ITUSER.DOMESTIC_PROD SET TRANS_DTE = DATE;)
END;
Helen Fowler
Victoria's Secret Direct
HA Fowler, Inc.
|