|
|
Archives of the TeradataForum
Message Posted: Fri, 25 Jan 2008 @ 20:00:08 GMT
Subj: | | Re: Regarding Delete Mload |
|
From: | | Christian Schiefer, makeITdone |
Hi,
this query will not work in with a MLOAD DELETE.
Nevertheless here is a sample:
-------------------------------------------------------------
.LOGTABLE ${DB_TR_DWH}.T_CRM_CV_FACTOR_VALUE_DEL_ML;
LOGON ${LOGON};
.BEGIN DELETE MLOAD
TABLES ${DB_TR_DWH}.T_CRM_CV_FACTOR_VALUE
WORKTABLES ${DB_TR_DWH}.T_CRM_CV_FACTOR_VALUE_DEL_WT
ERRORTABLES ${DB_TR_DWH}.T_CRM_CV_FACTOR_VALUE_DEL_UV
;
DELETE
FROM ${DB_TR_DWH}.T_CRM_CV_FACTOR_VALUE
WHERE MONTH_START_DATE >= date'${MIN_MONTH_START_DATE}'
;
.END MLOAD;
.LOGOFF;
-------------------------------------------------------------
BR
Christian
| |