Heim  >  Artikel  >  Datenbank  >  关于报错“ORA-01747: user.table.column, table.column 或列说明无效”的解决办法

关于报错“ORA-01747: user.table.column, table.column 或列说明无效”的解决办法

WBOY
WBOYOriginal
2016-06-07 17:33:212074Durchsuche

今天在工程中遇到ldquo;ORA-01747: user.table.column, table.column 或列说明无效rdquo;的报错情况,查了一下是由于数据库列名

今天在工程中遇到“ORA-01747: user.table.column, table.column 或列说明无效”的报错情况,查了一下是由于数据库列名起的不好引起的,名字用到了数据库的关键字。

如果列很多,,又不好确定是哪个列名使用了关键字,以下建议可供参考:

我用以下方法定位

 select *

from v$reserved_words
where keyword

in(

select COLUMN_NAME

from all_tab_columns

where table_name = '表名大写' and owner='用户名大写'

);

我的数据库是Oracle.

相关阅读:

ORA-01172、ORA-01151错误处理

ORA-00600 [2662]错误解决

ORA-01078 和 LRM-00109 报错解决方法

ORA-00471 处理方法笔记

ORA-00314,redolog 损坏,或丢失处理方法

ORA-00257 归档日志过大导致无法存储的解决办法

linux

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn