Problem convertion of AL32UTF8 TO AL16UTF16 [message #243865] |
Sun, 10 June 2007 03:40 |
emadbsb
Messages: 334 Registered: May 2005 Location: egypt
|
Senior Member |
|
|
Hii All
I install oracle 10g XE (Express Edition)
it is installed using characterset AL32UTF8
i want to change it to AL16UTF16
I tried to change it by connecting to the database as sysdba by the user sys and after changing it and restarting the computer the database become down and i reinstalled Oracle 10gXE again
How can i solve this problem because i have a dump file that is of characterset AL16UTF16 and i want to import it
and there is many rows in some tables failed to be imported
Please help me in solving this problem
Thanks for everyone helped and helping me
|
|
|
|
Re: Problem convertion of AL32UTF8 TO AL16UTF16 [message #243937 is a reply to message #243865] |
Mon, 11 June 2007 01:26 |
emadbsb
Messages: 334 Registered: May 2005 Location: egypt
|
Senior Member |
|
|
For this :
How did you that? It is not directly possible.
I connect to the database as sysdba and updated in tableprop$ that contain the parameter of NLS_CHARACTERSET
and changed its value to AL16UTF16
For this :
You can do it in AL32UTF8 db, there is no problem.
the row that have fields contain arabic letters when importing its tables it is not imported because of the new characterset
e.g
suppose there is a column named DescA of datatype Varchar2(10)
when i insert to it under the characterset AL16UTF16
i can insert up to 10 character
while when inserting to it under the characterset AL32UTF8
i can insert up to 5 character
inserting more than 5 raising an error that have a mean of
inserted value too large for column
and that was the answer of
Which ones? What was the errors?
[Updated on: Mon, 11 June 2007 01:27] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Problem convertion of AL32UTF8 TO AL16UTF16 [message #243982 is a reply to message #243970] |
Mon, 11 June 2007 02:59 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
CHAR and VARCHAR can be declared with BYTE or CHAR semantic.
VARCHAR2(8 BYTE) means string up to 8 bytes.
VARCHAR2(8 CHAR) means string up to 8 characters.
Default BYTE or CHAR depends on your NLS_LENGTH_SEMANTICS parameter at table creation time.
If NLS_LENGTH_SEMANTICS is not set default is BYTE.
Regards
Michel
|
|
|