Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: What is the table "dual"

Re: What is the table "dual"

From: Jomarlen <jomarlen_at_aol.com>
Date: 1997/11/21
Message-ID: <19971121230500.SAA19622@ladder02.news.aol.com>#1/1

>I have seen a sql-scripr that looks like this:
>
>select to_number (':FraMnd'||'01') StartDato from dual;
>
>what is "dual".
>-

DUAL is a table with one column (DUMMY VARCHAR2(1)) usually owned by SYS.

Usually used to retrurn just one value from a function like
SELECT sysdate FROM dual;
or
SELECT my_sequence.nextval FROM dual;

John Received on Fri Nov 21 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US