sql server 2005 - UNDEFINED data type when reading SQL database from Lotus Notes using ODBC: nvarchar -
This is the second time for me and before trying to modify the third party database structure, wanted to know if someone knows better Solution:
I'm reaching MS SQL Server 2008 from a Lotus Notes Agent (Notes 7) to recover some data. I use LSXODBC and my "Selection" statement works right ... except that my agent can not "understand" the attribution SQL field type. Any other data types work fine (without the problem numbers can get values from the fields and dates).
I took some time to understand it, and I resolved (except for modifying the field types on the SQL table for nVarchar instead of the behavior)
I call it MS SQL 2005 and 2008 I can repeat both.
The last "elegant" solution was to create a SQL view - instead of modifying the table structure - works properly with varchar type rather than nerve, but I have to create a scene for each table, Recovering from
I tried to use the field type FieldExpectedDataType method but did not work. Still got a DB_TYPE_UNDEFINED
Did I think there might be some configuration problem? Or maybe I'm using an old LN version / ODBC driver version?
Any sign will be very appreciated.
Thanks in advance.
Diego
An old ODBC driver can not support Unicode. It was not added until SQL Server 2000 (I'm pretty sure)
Comments
Post a Comment