"single-row subquery returns more than one row"是一个在SQL查询中常见的错误,它发生在子查询(subquery)被设计为只返回一行数据,但实际上返回了多行数据。Oracle数据库无法处理这种情况,因此会抛出这个错误。 2. 导致该错误的常见原因 子查询设计不当:子查询的条件可能过于宽泛,导致返回了多
为了传输数据,我使用子查询和to_date()函数(除了从旧表中添加数据外,赋值指定将当前日期插入到新表中),但始终收到以下错误:ORA-01427: single-rowsubqueryreturns more than one row 我给我的教授发了邮件,他说这个错误可能是由于我的to 浏览3提问于2015-10-06得票数0...
你好,这个错误一般是由于你select中嵌套的select子查询返回不止一条数据导致的,即你的sql /* Formatted on 2013-11-21 16:50:43 (QP5 v5.163.1008.3004) */ CREATE VIEW CUX_EHR_POS_STRUCTURE_V AS SELECT o.codeitemid EPK,k.K011J OPK,'苏轨人力层级' STRUCTURE_NAME,(SELECT K011...
java.sql.SQLException: ORA-01427: single-row subquery returns more than one row 我一看到这个错误的第一反应就是应该是sql语句的问题,然后开发同事反馈这个程序已经用了蛮长时间了,现在突然报出了错误。 简单沟通之后,我得到了对应的sql语句。 SELECT ID, PROJECTNAME, GRAPH, TYPE, PERSON, RECORDTIME, PROJ...
ORA-01427: single-row subquery returns more than one row Cause You tried to execute a SQL statement that contained aSQL subquerythat returns more than one row. Resolution The option(s) to resolve this Oracle error are: Option #1 Rewrite your query so that the subquery only returns one row...
Oracle database error 1427: ORA-01427: single-row subquery returns more than one row I had live dashboard based on same view,now refresh is failing on the extracts Has anyone faced something like this.Data & Connectivity Upvote Answer Share 1 answer 1.04K views ...
oracleORA-01427:单⾏⼦查询返回多个⾏ 前⼏天开发的同事反馈⼀个问题,说前台系统报出了ORA错误,希望我们能看看是什么原因。java.sql.SQLException: ORA-01427: single-row subquery returns more than one row 我⼀看到这个错误的第⼀反应就是应该是sql语句的问题,然后开发同事反馈这个程序已经⽤了...
ORA-01427: single-row subquery returns morethan one row 5.2 子查询不能包含ORDER BY 子句 子查询不能包含ORDER BY 子句。相反,任何排序都必须在外部查询中完成。例如: store@PDB1>select product_id,name,price from products where price >(select avg(price)from products) order by product_id desc; ...
SQL> select a.username,(select b.object_id from t2 b where a.username=b.owner) from t1 a; select a.username,(select b.object_id from t2 b where a.username=b.owner) from t1 a * ERROR at line 1: ORA-01427: single-row subquery returns more than one row ...
AR-ARLVAL: Error from arlval. AR-ARLPLB: arlval returned FALSE. AR-ARLPLB: Error in main. AR-ARLPLB: -1427 ORA-01427: single-row subquery returns more than one row Even we have found one doc#1469282.1which suggest that this issue is caused when for any customer there is more than...