in reply to Re^2: use sqlldr with perl
in thread use sqlldr with perl

Unless I am really mistaken, sqlldr will import external data into an Oracle database. The Perl system command will just start sqlldr for you and then sqlldr takes over. The data doesn't pass through your perl-script at all.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^4: use sqlldr with perl
by gary16 (Novice) on Jan 28, 2015 at 09:17 UTC

    yes.I agree on u.So the issue is strange.Though the text is gbk or utf8,I can configure the characterset zhs16gbk or al32utf8 in control file.

    Oh,right,I have missed a important information.when I rename the title of my data text to test.txt,then no matter what the encoding of my data text,the issue will disappear!!!I can import it .So I think there is something unkonown in perl.