Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Problem when inserting data into UTF8 database using VB and ADO
Hello!
I am unable to insert data into table which has NVARCHAR2 column using
Visual Basic and ADO.
What happens is that I get a [Oracle][Ora]ORA-12704 character set mismatch
error.
Database information:
NLS_RDBMS_VERSION 8.1.7.0.0 NLS_CHARACTERSET UTF8
I have no problems when adding data using direct sql inserts if I identify national data with N'string' but this ADO behauvior is very alien to me.
Client application does the following:
A empty recordset is fetched into ADODB.Recordset (rsSave) variable.
rsSave.AddNew
rsSave("Name").Value = strName ' Name is NVARCHAR2 column
UpdateRS rsSave
During update I get the error message.
Thank you for any advice you may offer,
Vesa Nopanen
nopanen_at_quartal.com
Received on Mon Mar 04 2002 - 07:28:31 CST
![]() |
![]() |