|
Archives of the TeradataForumMessage Posted: Fri, 09 Feb 2001 @ 14:41:56 GMT
We have been updating a load stats table since version 3. We set up the commands in the multiload stream and update the stats at the beginning and end of the load job. We insert the record before the load and then do an update after the load: .SET DATABASENAME TO '''BIS_SUM'''; .SET TABLENAME TO '''USER_PRDCT_MTHLY_SUM'''; .SET JOBNAME TO '''MWTD205'''; .SET START_DT TO '''&SYSDATE4'''; .SET START_TIME TO '''&SYSTIME'''; .SET END_DT TO '''&SYSDATE4'''; .SET END_TIME TO '''&SYSTIME'''; INSERT INTO LDWMETRICS.LOAD_STATS .SET INSRT_CNT TO &SYSINSCNT; UPDATE LDWMETRICS.LOAD_STATS
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||