I have an existing C # project that reads a text file and uploads it to Oracle DB using System.Data.OleDb as a provider. The problem is that if the file has upper ascii characters (for example, ΓΓΓ, non-breaking space), it always generates an error when trying to load it into Oracle:
Error: OLEDBConnection command. Parameter value cannot be converted for reasons other than character mismatch or data overflow.
Our Oracle can accept upper ascii characters (inserting through SQL * PLUS works fine), this is a problem with System.Data.OleDb.
Does anyone know if there is a way to change this? I canβt believe it only takes AZ-0-9. I looked through the documentation, but found nothing.
If this is not possible, how can you tell OLEDB to escape the character. Tired of putting \ in the file before special characters, but still errors with the same message.
source share