【发布时间】:2015-03-06 06:30:38
【问题描述】:
众所周知,LONG 很久以前在 Oracle 中已被弃用,但 Oracle 本身仍在他们的视图中使用这种数据类型。
因此,如果我必须将 LONG 更改为某种文本数据类型,我该如何实现。
我正在尝试查询这个并得到错误。
ORA-00932: inconsistent datatypes: expected - got LONG
查询-
SELECT NVL(ie.column_expression, ic.column_name)
from user_ind_columns ic left join user_ind_expressions ie on ic.index_name = ie.index_name and ic.table_name = ie.table_name
where ic.table_name = 'Some Table'
【问题讨论】:
标签: sql oracle oracle11g long-integer type-conversion