1 Reply Latest reply: May 17, 2015 2:10 AM by Jeroen Jordaan RSS

    Set codepage in OLEDB Connect to

      Hello everybody,

       

      I have a problem setting the codepage when connecting to a MS SQL Database with an OLEDB driver in qlikview. The database contains cyrillic characters. When I don't specifiy any codepage, qlikview only displays ?? instead of characters. I use the following connection string:

      OLEDB CONNECT TO [Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=$(sDbName);Data Source=$(sDbServer);Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Use Encryption for Data=False;Tag with column collation when possible=False](codepage is 1251);

       

      The specified codepage doesn't seem to change anything. I already tried several different values (also ansi, unicode, etc.) but nothing changed.

      When I set Auto Translate to False it shows different characters, but still no cyrillic.

       

      Does anybody have an idea how to solve the problem?

       

      Thanks!

       

      Christina