问题标签 [ora-00900]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
41349 浏览

oracle - 在 PL/SQL Developer SQL 窗口中执行存储过程

我使用 TOAD 有一段时间了,但我的部门要求我评估 PL/SQL Developer 作为可能的更改。

我正在尝试在 PL/SQL 开发人员中运行以下内容。它给出了一条错误消息:ORA-00900: Invalid SQL Statement

在 TOAD 中,我可以将它放在 SQL 编辑器中,然后按 F5 到“作为脚本执行”,输出看起来就好了。

关于如何做到这一点的任何想法?我看到 PL/SQL Developer 有一个命令窗口,但我不是 SQLPlus 大师(也许是我的问题),也无法让它在命令窗口中运行。

0 投票
1 回答
4466 浏览

java - setRepositoryConnection 中的错误:java.sql.SQLException:ORA-00900:无效的 SQL 语句

在这里,将数据插入数据库时​​出现错误。

在 Oracle 中的 insert 语句或该语句之后,我没有收到任何错误。

0 投票
1 回答
1542 浏览

sql - ORA-00900: 无效的 SQL 语句 - 无法确定问题所在

我尝试执行以下操作:

但我不断收到 ORA-00900: invalid SQL statement 。你能帮我解决这个问题吗?

0 投票
2 回答
758 浏览

sql - ORA-00900 on delete statement

I'm trying to use DELETE FROM with an IN clause and a subquery to delete rows given by a query on another table that is 1-to-1 with the table I am deleting from, but Oracle 11g2 barfs an utterly unhelpful ORA-00900 error at me, as in the following SQL fiddle:

http://sqlfiddle.com/#!4/93171/1

For those who can't get at SQLfiddle, the schema/initial load I'm using is (I'm using varchar instead of varchar2 for test portability, the "wild" data uses varchar2 instead):

#xA;

and the statements I'm trying to run are:

#xA;

(The select ... full outer join runs by itself, and the error still happens if I still comment it out, so it's not the source of the ORA-00900.)

P.S. this statement is valid SQL, too -- neither SQL Server 2014 nor PostgreSQL 9.3 have an issue with the fiddle, and it works in a local copy of SQLite 3.8.8.3 as well once the full outer join is switched for an inner join.

0 投票
1 回答
983 浏览

ora-00900 - 错误报告 - ORA-00900: 无效的 SQL 语句

我是 oracle 的新手,我正在尝试通过程序将角色授予用户。我收到以下错误。有人可以帮我吗?

0 投票
1 回答
338 浏览

oracle - 使用 Oracle 的 Clojure JDBC 错误... java.sql.SQLSyntaxErrorException: ORA-00900: 无效的 SQL 语句

在 Oracle 的 SQL 开发人员中,我创建了一个名为 BBS_COUNT_BASES 的表,其定义如下:

我还使用以下语句在表中插入了一条记录:

现在,使用 SQL Developer,我可以使用语句

将 base_edn 值更新为(在此测试用例中)相同的值。

但是,当我尝试将此语句传递给 clojure.java.jdbc/query 时,JDBC 驱动程序会出错,并出现标题中显示的错误。有谁知道为什么这条语句被 JDBC 驱动程序视为无效?

0 投票
1 回答
400 浏览

oracle - SQL Toad/Oracle 奇怪的行为

我刚刚安装了 Toad for Oracle,它有一个奇怪的行为。

这有效

这不会产生错误

它要么是 FROM not found,要么是 Invalid statement 错误。唯一的区别是最后一列和 FROM 关键字之间有空行。它可能是某个地方的某个设置,但我什至不知道如何搜索它。

0 投票
2 回答
700 浏览

oracle - ORA-00900: SQL 语句无效 - 在 oracle 12c 中运行包时

我正在使用 Oracle 12c 数据库并尝试使用 SQL 命令运行包。

当我尝试使用以下命令执行它时:

表明:

谢谢你的帮助。

0 投票
2 回答
38 浏览

python - 无法使用 cxOracle 在 python jupyter notebook 中执行“DESCRIBE ARADMIN.EPM_TechnicianInformation”

当我执行如下查询“DESCRIBE ARADMIN.EPM_TechnicianInformation”时:

它在给

如何使用 cx_Oracle 创建查询“DESCRIBE ARADMIN.EPM_TechnicianInformation”?我想获取表格的列详细信息。

请帮忙!谢谢!