![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 03 May 2006 @ 13:53:37 GMT
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
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||