Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 03 May 2006 @ 13:53:37 GMT


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


Subj:   Re: Need help to load Japanees character into Teradata table
 
From:   Gopal Roy

Hi,

In table definition its Unicode only. Below is the Mload script

     .DATEFORM ANSIDATE;
     .LOGON dev/username,password;

     .LOGTABLE dbname.logtable;
     .BEGIN         IMPORT MLOAD TABLES dbname.tname

     .Layout InputLayout ;

     .Field  col1 * VARCHAR(30) ;
     .Field  col2 * VARCHAR(30) ;
     .Field  col3  * VARCHAR(1000) ;
     .DML Label tagDML;
     INSERT INTO db.tname (
     col1,col2,col3
     )
     values
     (:col1,:col2,:col3 );
      .Import Infile filename
      Format vartext '|'
     Layout InputLayout
      Apply tagDML ;
     .END MLOAD;
     .LOGOFF;

while I am invoking Mload I use command : mload -c utf8 <insert.mload. But its inserting junk data

Below is sample data

     3263|443344|(???)?????????????????????
     2741|450883|????????????????????????

Please suggest me as I am new to teradata mload utilities


Thnx



     
  <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