Home > Database > Mysql Tutorial > ORA-00918:未明确定义列

ORA-00918:未明确定义列

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:16:42
Original
2395 people have browsed it

但是在客户现场,数据库版本为Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 ,上面的语句就报错:ORA-00918:未明

有一条SQL语句,类似如下:

select ...,createdate from A left join B on ... where ...

其中createdate字段在表A和表B上都存在。在本地的Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 上执行正常,而且createdate显示的值为B表里面该字段的信息。

但是在客户现场,数据库版本为Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 ,上面的语句就报错:ORA-00918:未明确定义列

看来Oracle版本不一样,对该问题的处理方式也是不一样的。

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template