Hi,
I am facing problem in transferring Japanese data from oracle 9i server to Ms-Sql Server.
The Japanese characters in SQL server are not properly displayed in the Sql server table.
For each Japanese character a '?' is substituted in the table (I think that the problem is with unicode data or language support).
I am using DSN and adodc control for connecting to the databases.
The code is like:
'-----------------------------------------------------------------------
Dim con As New ADODB.Connection
Private Sub Command1_Click()
con.Execute "insert into test values('" + Adodc1.Recordset.Fields("CONTENT1_TEXT") + "')"
MsgBox "Copied"
End Sub
'----------------------------------------------------------------------
Private Sub Form_Load()
con.Open Adodc2.ConnectionString
End Sub
Private Sub Form_Unload(Cancel As Integer)
con.Close
End Sub
'------------------------------------------------------------------------
Please tell me how can i insert the correct Japanese data in the SQL server. Do I need to do anything with the SQL DB?
Regards
Gyanendra Mani Dwivedi
e-mail – gm_dwivedi@sify.com


Reply With Quote


Bookmarks