Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 18 Jul 2011 @ 11:49:39 GMT


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


Subj:   Re: ARCMAIN COPY + PARTITIONS WHERE
 
From:   Mankala, Mahesh

try this i think it will work

for Archive:

     .logon TDPID/username,passwd;
     ARCHIVE DATA TABLES
     (Students.orders_PPI_M)
     (PARTITIONS WHERE (! o_orderdate = DATE '2000-01-25' !)),
     RELEASE LOCK,
     FILE=ARCHIVE;
     .logoff;

For Copy:

     .logon TDPID/username,passwd;
     COPY DATA TABLES
     (Students.orders_rst )   (from(Students.orders_PPI_M )),
     RELEASE LOCK,
     FILE=ARCHIVE;
     .LOGOFF;


     
  <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