I have a program using OleDbCommand to insert some chinese character
information into Oracle Database.
It runs normal except when data contains a particular chinese
character "=A6=E2" and the exception message is ORA-00917 missing comma.

This is so strange for me since this is a very simple chinese
character and it could be inserted when I tested with other
applications(i.e. Oracle Financials).
Is this the problem of OleDbCommand of .Net?
Any idea?


Thanks and Regards,
Cherry

Re: ORA-00917 missing comma when using OleDb to insert chinese character by Miha

Miha
Mon Mar 19 05:02:35 CDT 2007

Hi,

Use parametrised commands (send values using parameters) and you'll be
(probably) fine.

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/


"cherry" <cherryparadise001@gmail.com> wrote in message
news:1174295658.638205.312690@d57g2000hsg.googlegroups.com...
I have a program using OleDbCommand to insert some chinese character
information into Oracle Database.
It runs normal except when data contains a particular chinese
character "¦â" and the exception message is ORA-00917 missing comma.

This is so strange for me since this is a very simple chinese
character and it could be inserted when I tested with other
applications(i.e. Oracle Financials).
Is this the problem of OleDbCommand of .Net?
Any idea?


Thanks and Regards,
Cherry