I use SQL Serverand have a database Firebirdas a linked server on my SQL Server.
I am trying to do OPENQUERYto import data from Firebirddb;
SELECT * FROM OPENQUERY(Workbench, 'SELECT * FROM table_name')
and I get the following error.
OLE DB provider "MSDASQL" for linked server "Workbench" returned message "Requested conversion is not supported.".
Msg 7341, Level 16, State 2, Line 4
Cannot get the current row value of column "[MSDASQL].NOTES" from OLE DB provider "MSDASQL" for linked server "Workbench".
Data type field NOTESin Firebirddb blob. If I omit the field NOTES, the query is executed and the results are imported correctly.
But I need the information in the field NOTES, and I'm looking for a way to type castblob the field up nvarchar. I believe that this should be done in OPENQUERY(i.e., in the Firebird side of the request).
Can anyone suggest a clean solution SQLto convert blobto nvarcharto FirebirdPlease?