欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

PL/SQLDeveloper遇到一个奇葩无效标识符问题随记_MySQL

程序员文章站 2022-04-23 19:35:26
...
前段时间前,在尝试使用PL/SQL Developer抽取数据时,执行脚本时,遇到了一个ora-00936报错。

查询报错ora-00936
PL/SQLDeveloper遇到一个奇葩无效标识符问题随记_MySQL
ORA-00936: missing expression tips
Cause: A required part of a clause or expression has been omitted. For example, a SELECT statement may have been entered without a list of columns or expressions or with an incomplete expression. This message is also issued in cases where a reserved word is misused, as in SELECT TABLE.
Action: Check the statement syntax and specify the missing component.
这个错误,常规解决思路是SQL语句问题,但是查看语句并没有问题,最后锁定到来源描述字段,如下,尝试注释掉,就没有问题,有些不知道为何。
PL/SQLDeveloper遇到一个奇葩无效标识符问题随记_MySQLvcq9vfjQ0KOsyOfPwqO6PGJyIC8+DQo8aW1nIGFsdD0="这里写图片描述" src="http://img.blog.csdn.net/20151118010831539" title="\" />
可以看到,查询语句成功执行了。
判断这是否是PL/SQL Developer的bug呢,没来得及细分析了,先采用sqlplus执行脚本了。
于是操作如下:
PL/SQLDeveloper遇到一个奇葩无效标识符问题随记_MySQL
20分钟过去了,4千万数据插入成功了。
PL/SQLDeveloper遇到一个奇葩无效标识符问题随记_MySQL

随笔记之。