Query Fails with ORA-7445[kkoosoel]
(Doc ID 2549114.1)
Last updated on MAY 01, 2020
Applies to:
Oracle Database - Enterprise Edition - Version 12.2.0.1 and laterInformation in this document applies to any platform.
Symptoms
- Query fails with ORA-7445[kkoosoel] when using COUNT function and ORDER BY clause
- The following is an example testcase:
TEST CASE:
CREATE TABLE t1 (c1 VARCHAR2(5));
CREATE INDEX t1_idx1 ON t1 (c1);SELECT count(*) FROM t1
WHERE c1 BETWEEN 'AAA01' AND 'AAA03' OR c1 BETWEEN 'AAA05' AND 'AAA07'
ORDER BY c1;[Terminal error message]
SQL> SELECT count(*) FROM t1
2 WHERE c1 BETWEEN 'AAA01' AND 'AAA03' OR c1 BETWEEN 'AAA05' AND 'AAA07'
3 ORDER BY c1;
WHERE c1 BETWEEN 'AAA01' AND 'AAA03' OR c1 BETWEEN 'AAA05' AND 'AAA07'
*
ERROR at line 2:
ORA-03113: end-of-file on communication channel
Process ID: 90597
Session ID: 22 Serial number: 31691
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |