---
title: "oracle版本不同导致数据库操作报错  CLOB"
author: "mofeichen"
date: "2015-01-10T20:41:57Z"
tags: []
categories: ["数据库"]
slug: "oracle-clob"
draft: false
lastmod: "2015-01-10T20:41:57Z"
id: 2174682
url: "https://mofeichen.iteye.com/blog/2174682"
---

由11.2.0.1版本的数据库导入到11.2.0.4版本的数据时，某些SQL报：ORA-00932: inconsistent datatypes: expected - got CLOB ,但是原来库是正常的。

 

原因

WMSYS.WM\_CONCAT函数在不同的版本结果类型不一样，具体哪些版本暂时不知道

 

解决方案：

 

去掉这些函数，使用其他方法实现