Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

select * from dual

494959Oct 23 2009 — edited Oct 23 2009
SQL> select * from dual;

D
-
X

SQL> desc dual;
Name Null? Type
----------------------------------------- -------- ----------------------------
DUMMY VARCHAR2(1)

SQL> select sysdate from dual;

SYSDATE
---------
23-OCT-09

SQL> select 'Oracle is the Information Company,Most Reliable database ' from dual;

'ORACLEISTHEINFORMATIONCOMPANY,MOSTRELIABLEDATABASE'
---------------------------------------------------------
Oracle is the Information Company,Most Reliable database

Hi techies,

1. When I do 'select sysdate from dual;' it has returned more than Five rows.
what could be the reason for this,some of the extra column also added into the DUAL table.
2. When you describing the dual table , there is column called dummy with varchar2(1).
3. when we do select sysdate from dual , which holds current date more the 1 byte (see example).
and the second example It also holds the one big sentence, even the dummy column is varchar2(1).

Sorry if I am wrong anywhere by this question.

Thanks,
Tippu
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2009
Added on Oct 23 2009
13 comments
1,758 views