Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 15 Jan 2002 @ 18:42:56 GMT


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


Subj:   Re: Delimited text files
 
From:   Cornelius Meade

Yes....Here's an example of a part of a fastload control script that shows one possibility....Neil

SET RECORD VARTEXT  "," ;

DEFINE
     column_1                                (varchar(nn)),
     column_2                                (varchar(nn)),
     column_3                                (varchar(nn)),
     column_5                                (varchar(nn)),
     column_4                                (varchar(nn))

file=xxxxxxxxxx ;

BEGIN LOADING table_a
   ERRORFILES table_a_ERR1, table_a_ERR2 ;

INSERT INTO table_a VALUES(
       :column_1
      ,:column_2
      ,:column_3
      ,:column_4
      ,:column_5) ;

END LOADING ;

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: 27 Dec 2016