Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 Other Topics
 Help needed for Inserting chinese character in DB(

Author  Topic 

srisaran
Starting Member

2 Posts

Posted - 2008-10-08 : 23:14:09
Hi,
Iam trying to inserting the chinese character into DB(Oracle).
please see the below code.
<CODE>
String str="?????";
preparedStatement.setObject(i, str);
preparedStatement.execute();
</CODE>
datatype as Nvarchar, after executed this query,iam getting ????? in DB (Oracle 9i).
I need to store in DB chinese character (?????) only .
Please help me.
Thanks,
Sridhar.R

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-10-09 : 03:10:42
Try to use UNICODE columns in your table.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -