|
|
Archives of the TeradataForum
Message Posted: Fri, 09 Feb 2001 @ 15:36:53 GMT
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'
| |