DUAL behavior in 10g and prior versions
(Doc ID 728710.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
This problem can occur on any platform.
The SYS-owned dual table was introduced by Oracle long back and since then the Application
Development team across the globe has been using this table for some internal processing.
Some of the common queries on DUAL table used by the application team are :
select sysdate from dual;
select sequence.nextval from dual;
select sys_context('USERENV','SESSION_USER') from dual;
Originally, this table was introduced by Oracle for its internal processing, for example, RMAN
uses this table to fetch the current date for a backup.
Getting multiple rows in DUAL can cause a variety of known issues.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!