Oracle报错:ORA-01747: user.table.column, table.column 或列说明无效
Posted Sam168666
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle报错:ORA-01747: user.table.column, table.column 或列说明无效相关的知识,希望对你有一定的参考价值。
1、检查sql书写正确性
2、如果sql书写正确,则是由于数据库列名起的不好引起的,名字用到了数据库的关键字。
如果列很多,又不好确定是哪个列名使用了关键字,以下建议可供参考:
我用以下方法定位
select *
from v$reserved_words
where keyword
in(
select COLUMN_NAME
from all_tab_columns
where table_name = ‘表名大写‘ and owner=‘用户名大写‘
);
以上是关于Oracle报错:ORA-01747: user.table.column, table.column 或列说明无效的主要内容,如果未能解决你的问题,请参考以下文章