Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Updating table column with arabic text

Shareef KhaleelNov 11 2019 — edited Nov 12 2019

Dear All,

We are using db 11.1.0.2; OS: Oracle Linux 7.3

For business needs we have to update database table records from other data source stored in text file; for that we created directory object and external table;

We are doing this under Linux;

One of columns in external table are in Arabic, we can read records from this external table file; as you can see in attached image (Although we have to read Arabic from left to right):

1.png

And we can read Arabic columns from database table by setting NLS_LANG=.AL32UTF8 first; then query records; also have to read Arabic columns from left to right.

Any how.

When we update database table (merge external file records into database table) records updated; but columns with Arabic values stored in different characters:

2-Reading.png

We don't have any issue in Arabic in Windows OS; we can insert, update, select.... Arabic data with no issue at all.

Out put of:

SELECT *

from NLS_DATABASE_PARAMETERS

WHERE PARAMETER IN ('NLS_CHARACTERSET', 'NLS_NCHAR_CHARACTERSET')

NLS_CHARACTERSET AR8ISO8859P6

NLS_NCHAR_CHARACTERSET AL16UTF16

external text file format [ file -i Coordinates.dat ]is:

text/plain; charset=utf-8

Can you please help me in this issue.

Thanks and Regards,

Shareef

This post has been answered by cormaco on Nov 11 2019
Jump to Answer
Comments
Post Details
Added on Nov 11 2019
4 comments
3,507 views