Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 20 Sep 2002 @ 15:04:11 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


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.



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023