Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 08 Jul 2002 @ 11:55:30 GMT


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


Subj:   FastExport using Boundary values
 
From:   Febin Francis

I am using the following script to export the data by using Boundry values, from a 'employee' table having two columns empid (INTEGER), empname CHAR(10). The table has records from 1001 to 1025.But it is not exporting any record to the file.

FASTEXPORT SCRIPT:
-------------------
.LOGTABLE febinlog;
.LOGON incdd006/humming, humming;
.database humming;
.BEGIN EXPORT ;
.LAYOUT BOUNDRIES;
.FIELD fromval * INTEGER;
.FIELD toval * INTEGER;
.IMPORT INFILE C:\datafile.txt FORMAT UNFORMAT LAYOUT BOUNDRIES;
.EXPORT OUTFILE C:\febinexp.txt mode record;
SEL * FROM employee WHERE empid between :fromval and :toval;
.END EXPORT;
.LOGOFF;

My Infile is as follows....

First Record 1001 1020

Can anyone give a solutions?


Thanks

Febin Francis



     
  <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