建立DBLINK后,查询数据出现ora-22804错误;
使用的是oracle12c,新建一个DBLINK至服务器,通过了 检验,检验语句为 select * from dual@NEWLINK_3;
然后进行查询 查询语句为 select * from HBGGJC.SHENG_PY@NEWLINK_3;
报错
ORA-22804: 在对象表或用户定义的类型列上不允许执行远程操作
22804. 00000 - "remote operations not permitted on object tables or user-defined type columns"
*Cause: An attempt was made to perform queries or DML operations on
remote object
tables or on remote table columns whose type is one of object,
REF, nested table or VARRAY.