Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 25 Jun 2013 @ 13:53:36 GMT


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


Subj:   ARCMAIN : the clause "partitions where"
 
From:   Aitsakel Rochdi

Hi Forum,

I have a question concerning ARCMAIN tool. I need to archive a set of partitions of a table. This table is partitioned by a timestamp(0) field.

The following expression is valid ? :

     ---------------------------------------------------------------------
     ARCHIVE DATA TABLES
     ("TABLE1")
     (PARTITIONS WHERE (!(CAST DAT_HEUR_ALLC AS DATE AT LOCAL)
         BETWEEN DATE '2013-07-01' AND DATE '2013-07-31' !) ) , RELEASE LOCK, FILE=ARCHIVE;
     ---------------------------------------------------------------------

Thanks,

Rochdi AITSAKEL



     
  <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