Click here to Skip to main content
15,884,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
How do we create Unicode supported database in Oracle 10g? I have already created a database in Oracle but when I try to insert values in tables, it appears as '?' only.
Your help will be highly appreciable.

Thanks,
Posted

1 solution

Best is to install the database (and the clients) with the correct character set[^].

But second best is to swap all Varchar2 columns for NVarchar2[^].
 
Share this answer
 
Comments
RahulMGunjal 3-Mar-14 2:14am    
Thanks for reply. I tried second option by coverting Varchar2 to NVarchar but still it shows data as ?. Is there any way to alter the selected tables to support Unicode data as my database has only one table which requires Unicode support.
Jörgen Andersson 3-Mar-14 2:46am    
How do you insert the values? If you are using parameters (recommended)you need to specify the field type as NVarChar2. If you insert using a string you must be sure to specify that it is a unicode string by prefixing it with N, like: Insert into MyTable (MyColumn) values (N'MyUnicodeString');
RahulMGunjal 4-Mar-14 0:51am    
Tried, still not working!
Jörgen Andersson 4-Mar-14 1:42am    
Is the program you're viewing the data in supporting Unicode?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900