Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 25 Jan 2008 @ 20:00:08 GMT


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


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



     
  <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