Sending image from MS SQL SERVER to Oracle BLOB
763993Feb 3 2011 — edited Feb 4 2011Hey all, we're trying update Oracle via a SQL Server linked server and we're having an issue with a blob column. The update from SQL is:
UPDATE Banner..GENERAL.PS_EBI_IF_TBL
set photo = a.blob_file, photo_change_date=a.blob_date
from PWNT.dbo.BLOBS a, PWNT.dbo.BADGE_V b
where a.ID = b.ID
and base_name = b.BADGE_BASE_NAME
and b.BADGE_blob_date > getdate()-.021
GO
The error we get is:
OLE DB provider "OraOLEDB.Oracle" for linked server "Banner" returned message "ORA-01747: invalid user.table.column, table.column, or column specification".
The syntax is correct, we can run it if the column being updated (photo) is not a blob, so we believe there is something else we have to do because of the blob. Has anybody done anything like this and know how it works? Thanks!
Tom