0

If you try to query a BLOB across a database link, exception ORA-22992 is triggered, saying that is not possible.

How to fix it?

1 Answer 1

4

You need to create a local auxiliary table in your local database where the remote BLOBs will be stored.

While querying BLOBs across database links is not allowed, you can insert them into local tables:

insert into local_table(id, blob_obj) (select remote.id, remote.blob_obj from remote_table@remote_db remote);

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.