Oracle dual对象是表:
SQL> select owner,OBJECT_TYPE from dba_objects where OBJECT_NAME = 'DUAL';
OWNER OBJECT_TYPE
------------------------------ -------------------
SYS TABLE
PUBLIC SYNONYM
SQL> insert into dual values ('a');
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> commit;
Commit complete.
SQL> select * from dual;
D
-
X
==============================================&
SQL> select owner,OBJECT_TYPE from dba_objects where OBJECT_NAME = 'DUAL';
OWNER OBJECT_TYPE
------------------------------ -------------------
SYS TABLE
PUBLIC SYNONYM
SQL> insert into dual values ('a');
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> commit;
Commit complete.
SQL> select * from dual;
D
-
X
==============================================&