how to use different oracle character sets in one application

Posted by Peter Shower on Stack Overflow See other posts from Stack Overflow or by Peter Shower
Published on 2010-01-18T20:47:29Z Indexed on 2010/04/02 20:13 UTC
Read the original article Hit count: 397

Filed under:
|
|

Hi Guys,

i'm developing a 32bit Client-Application with Delphi. From this application I need to connect to databases on two different servers. First databse character set ist WE8MSWIN1252, the other server decodes with WE8PC850. Setting the client NLS_LANG parameter to the correct value solves correct sql-query results.

Unfortunately this (the client character-set) seems only to be recognized on applications startup (first connect to oracle). I need to change the client-characterset at runtime. Oracle client seems to store the character set an application used to connect!

beside: I#m using udl-files to setup the connections (Microsoft OLE DB - driver)

what can I do?

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about delphi