---
title: "ORA-22992:无法使用远程表选择的LOB定位符"
author: "cherryQQ"
date: "2013-11-15T11:25:24Z"
tags: []
categories: ["数据库"]
slug: "ora-22992-lob"
draft: false
lastmod: "2013-11-15T11:25:24Z"
id: 1975077
url: "https://cherryqq.iteye.com/blog/1975077"
---

ORA-22992:无法使用远程表选择的LOB定位符

 

仔细检查一下，远程的表只有一个是clob字段，但是我暂时，没有用到这个字段，

在查询的时候，把这个字段去掉，把用到的字段进行统计，不再报这样的错误，

 

 

------------如何所有的字段都需要，

 

网上的解决办法，一并搬来

 

解决办法：  
   先创建一个临时表，然后把远程的含CLOB字段的表导入到临时表中，再倒入本表。

   
    create global temporary table test\_temp as select * from test;

    insert into test\_temp select * from test@DB\_LINK;

    insert into test select * from test\_temp;

    commit;