如果创建Oracle数据库链接,则无法直接访问目标表中的LOB列.
例如,您创建一个dblink:
create database link TEST_LINK connect to TARGETUSER IDENTIFIED BY password using 'DATABASESID';
之后,你可以做如下事情:
select column_a,column_b from data_user.sample_table@TEST_LINK
除非列是LOB,否则您会收到错误:
ORA-22992: cannot use LOB locators selected from remote tables
CREATE TABLE tmp_hello AS SELECT column_a from data_user.sample_table@TEST_LINK
任何其他想法?