ORA-00932 clob字段不能union的问题
Oracle 使用union查询带有clob字段的两张表,提示错误:
ORA-00932:数据类型不一致:应为-,但却获得CLOB
解决办法:
把union改为union all。原因是lob字段不能做group by ,而union中需要使用group by过滤到重复纪录。
Oracle 使用union查询带有clob字段的两张表,提示错误:
ORA-00932:数据类型不一致:应为-,但却获得CLOB
解决办法:
把union改为union all。原因是lob字段不能做group by ,而union中需要使用group by过滤到重复纪录。
暂无评论。
评论功能维护中,当前仅展示历史评论。