Home » Other » Client Tools » Importing Hebrew, using ODBC from Excel (SQL Developer, 4.0.2, Windows 7 Professional, 64-bit)
Importing Hebrew, using ODBC from Excel [message #626366] |
Mon, 27 October 2014 06:41 |
|
Analyst
Messages: 45 Registered: June 2014
|
Member |
|
|
Hello,
I am trying to import to my Oracle DB (using SQL Developer 4.0.2.15) an Excel file with text columns in Hebrew, Using. But instead Hebrew word "בדיקה", I'm seeing in Oracle the following: "áãé÷ä".
Some details:
1) Oracle DB version (SELECT * FROM V$VERSION):
Oracle Database 12c Release 12.1.0.1.0 - 64bit Production
PL/SQL Release 12.1.0.1.0 - Production
"CORE 12.1.0.1.0 Production"
TNS for 64-bit Windows: Version 12.1.0.1.0 - Production
NLSRTL Version 12.1.0.1.0 - Production
2) DB computer OS - Windows 7 Professional, 64 bit.
3) Running this Select * From nls_database_parameters gives me:
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_CHARACTERSET AL32UTF8
Any suggestions of how to see the Hebrew in a proper way would be very appreciated.
Thanks in advance.
|
|
|
|
Re: Importing Hebrew, using ODBC from Excel [message #626369 is a reply to message #626367] |
Mon, 27 October 2014 07:09 |
|
Analyst
Messages: 45 Registered: June 2014
|
Member |
|
|
Yes, I have Hebrew characters in my db.
Running this:
Select distinct SENIORITY_INT,
Dump(SENIORITY_INT) dmpval,
Asciistr(SENIORITY_INT) ascstr
From MY_TABLE
Gives me:
6-12 חודשים Typ=1 Len=17: 54,45,49,50,32,215,151,215,149,215,147,215,169,215,153,215,157 6-12 \05D7\05D5\05D3\05E9\05D9\05DD
0-3 חודשים Typ=1 Len=16: 48,45,51,32,215,151,215,149,215,147,215,169,215,153,215,157 0-3 \05D7\05D5\05D3\05E9\05D9\05DD
3-5 שנים Typ=1 Len=12: 51,45,53,32,215,169,215,160,215,153,215,157 3-5 \05E9\05E0\05D9\05DD
מעל 5 שנים Typ=1 Len=17: 215,158,215,162,215,156,32,53,32,215,169,215,160,215,153,215,157 \05DE\05E2\05DC 5 \05E9\05E0\05D9\05DD
3-6 חודשים Typ=1 Len=16: 51,45,54,32,215,151,215,149,215,147,215,169,215,153,215,157 3-6 \05D7\05D5\05D3\05E9\05D9\05DD
1-2 שנים Typ=1 Len=12: 49,45,50,32,215,169,215,160,215,153,215,157 1-2 \05E9\05E0\05D9\05DD
2-3 שנים Typ=1 Len=12: 50,45,51,32,215,169,215,160,215,153,215,157 2-3 \05E9\05E0\05D9\05DD
אין מידע Typ=1 Len=15: 215,144,215,153,215,159,32,215,158,215,153,215,147,215,162 \05D0\05D9\05DF \05DE\05D9\05D3\05E2
[Updated on: Mon, 27 October 2014 07:09] Report message to a moderator
|
|
|
|
|
Re: Importing Hebrew, using ODBC from Excel [message #626372 is a reply to message #626371] |
Mon, 27 October 2014 07:23 |
|
Analyst
Messages: 45 Registered: June 2014
|
Member |
|
|
Maybe I misunderstood you.
If I run the command on my imported from Excel Hebrew column:
Select HEBREW_COLUMN,
Dump(HEBREW_COLUMN) dmpval,
Asciistr(HEBREW_COLUMN) ascstr
From TEST_TABLE
I'm getting this:
áãé÷ä Typ=1 Len=10: 195,161,195,163,195,169,195,183,195,164 \00E1\00E3\00E9\00F7\00E4
|
|
|
|
|
|
|
|
|
|
|
|
Re: Importing Hebrew, using ODBC from Excel [message #626395 is a reply to message #626393] |
Mon, 27 October 2014 10:07 |
|
Analyst
Messages: 45 Registered: June 2014
|
Member |
|
|
thatjeffsmith wrote on Mon, 27 October 2014 16:56I don't think you're really using SQL Developer - except to look at the data once you've already brought it in, correct?
SQL Developer is 100% Unicode compatible - most display issues in the tool come down to not using the right display FONT.
You should be able to skip all the ODBC link to Oracle stuff, and just have SQL Developer read your Excel file directly and import it in.
I use SQL to take the raw data from our ERP databases, process it and build flat panels of data for my analysis tasks in the Oracle DB, that I created by myself. I am an analyst, "looking at data" as you say, and not a DBA at all.
I am trying to solve the issues by myself, because we have no DBA staff. Don't know what you mean by "skip all the ODBC link to Oracle stuff". If I understand right, the purpose of this forum is to help in such problems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Importing Hebrew, using ODBC from Excel [message #626483 is a reply to message #626482] |
Tue, 28 October 2014 07:07 |
|
Analyst
Messages: 45 Registered: June 2014
|
Member |
|
|
do you have a data storage problem or a data presentation problem?
select acsiistr(hebrew_col) from hebrew_tbl where id = 1;
post results from similar SQL transformed to meet you specific requirements
Now I have presentation and storage data problem bringing it from External Oracle DB, to which I connect with DB link.
Doing This on that External Oracle DB
Select Asciistr(ITEMS.LOCAL_NAME) as ACSII_ITEM_NAME,
ITEMS.LOCAL_NAME
From ITEMS@EXTERNAL_DB_LINK;
Gives me this:
\00F4\00F8\00E9\00E8 \00EC\00E1\00E9\00E8\00E5\00EC \00F2\00E9\00F1\00F7\00E0\00E5\00FA ôøéè ìáéèåì òéñ÷àåú
This is the same problem, your query tool must have been configured to support Hebrew characters.
First see NLS_LANG when it was started. Fix it and restart the tool.
I don't understand. Where should I see NLS_LANG?
[Updated on: Tue, 28 October 2014 07:08] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Jan 02 18:22:34 CST 2025
|