|
|
Archives of the TeradataForum
Message Posted: Fri, 31 Aug 2012 @ 17:16:03 GMT
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
| | |