oracle分区表high_value查询时ora-00932解决方法
标签:
long2charlonghigh_valuedba_tab_partitionit |
分类: Tsql plsql sql |
google一把搜到working with long columns共有四种解决办法:
There are several workarounds we can use to solve our sample problem. We will examine each of the following in turn:
- TO_LOB;
- PL/SQL;
- DBMS_XMLGEN;
- Dictionary Long Application (oracle-developer.net utility)
下面是根据DBMS_XMLGEN可以得到分区表high_value相关信息脚本:
with xs as
select t.table_owner, t.table_name, t.partition_name,
t.high_value
select xs.datestr,p.* from xs,dba_tab_partitions p
where xs.table_owner = 'BANK'

加载中…