I am trying to load a file with few records containing multibyte(special) character using SQL Loader into Oracle table via a control file. But it is giving me Multibyte character error if I use the below control file.
LOAD DATA
CHARACTERSET UTF8
INTO TABLE MY_DB.T1
(
MESSAGE BOUNDFILLER POSITION(437:515) CHAR,
FILLER ":MESSAGE",
MY_DTE DATE "DDMMYYYYHH24MISS" "CASE WHEN 1=1 THEN NULL ELSE NULL END",
XTRA_TXT POSITION(516:755) CHAR
)
The special character is at the position 530.
In other case when I place the FILLER field at the end of control file after MY_DTE field without any other changes the records are loaded successfully.
Also, if I keep the control file as is and add any character before the special character position (530), then also records are successfully loaded.
I am not sure what really is causing the issue. PS- The type of field FILLER in the table is VARCHAR2(79 BYTE).