Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Fri, 31 Aug 2012 @ 17:16:03 GMT


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


Subj:   Re: Copy data from backup
 
From:   Mishra, Manish

Hi Roopalini,

Hope this may helps :

     JOB < Job Name>SESSIONS 10
     MULTISTREAM < No of sessions>
     STREAM 
     COMMANDLINE CSNAME=ASCII
     TDPID 
USERID CATALOG ON SOURCEUID <> SCRIPT Restore LOGON $LOGON; ---- This will restore the table from backup image -------- COPY DATA TABLES (DATBASENAME.TableName), --- This will create and copy the data to a new table -------------- COPY DATA TABLES (Database.TableName_1) (FROM (Database.TableName_Archived)), ------------------------------------------------ RELEASE LOCK, RELEASE LOCK, FILE=ARCHIVE; LOGOFF;

Regards,

Manish Mishra



     
  <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: 28 Jun 2020