Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Workaround for ORA-22992 select remote BLOB?

LaurySep 10 2017 — edited Sep 15 2017

Hi,

I am working with both Oracle RDBMS 11g and 12c.

I have a remote database server A and a local database server B.

On the remote database server A there are some tables containing BLOBs.

When using a database link from local database server B, I get the following error:

SQL> select id, decription, doc from staging_boogs@to_byblos_test2;

ERROR:

ORA-22992: cannot use LOB locators selected from remote tables

no rows selected

where doc is a BLOB.

Probably it is not possible to pass the whole BLOB through the database link.

Does someone know a technique how to select through a database link a BLOB from a remote database?

Not by creating locally a copy of the table that contains the LOB. I know it is possible.

Thanks by advance for sharing your experience.

Kind Regards

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 13 2017
Added on Sep 10 2017
13 comments
999 views