Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 09 Feb 2001 @ 15:36:53 GMT


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


Subj:   Re: Predefined System Variables with V2R4.01
 
From:   Mark Landry

Or more simply (avoiding the unnecessary .SET statements) :

UPDATE LDWMETRICS.LOAD_STATS
SET END_DT = '&SYSDATE4' (DATE, FORMAT 'YYYY-MM-DD')
, END_TIME = '&SYSTIME'
, END_DTS = CURRENT_TIMESTAMP(2)
, INSRT_CNT = &SYSINSCNT
, UPDT_CNT = &SYSUPDCNT
, DEL_CNT = &SYSDELCNT
, ET_CNT = &SYSETCNT
, UV_CNT = &SYSUVCNT
, CURR_IND = 'Y'



     
  <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: 27 Dec 2016