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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: help on "the" operator

Re: help on "the" operator

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Thu, 07 Mar 2002 11:48:40 -0800
Message-ID: <F001.0042263B.20020307114840@fatcity.com>

It's the way of the future -
>From 8.1.7.2 (or maybe 3) PL/SQL at the server no longer does

    select sysdate from dual;
when your code reads:

    m_date_var := sysdate;

One down, six to go.
Anyway, why do we need DUAL when we have X$DUAL which does take up any space or latching ?

Jonathan Lewis
http://www.jlcomp.demon.co.uk

Next Seminar - UK, April 3rd - 5th
http://www.jlcomp.demon.co.uk/seminar.html

Host to The Co-Operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html

Author of:
Practical Oracle 8i: Building Efficient Databases

-----Original Message-----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Date: 07 March 2002 19:33

|Get rid of select from dual! Hah, the next thing you will suggest is
that we
|convert to the metric system!
|
|Marge: Now, I know you haven't liked some of my past suggestions,
like
|switching to the metric system --
|Abe: The metric system is the tool of the devil! My car gets forty
rods to
|the hogshead and that's the way I likes it.
|- The Simpsons episode "A Star is Burns"
|
|- Ethan

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jonathan Lewis
  INET: jonathan_at_jlcomp.demon.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Mar 07 2002 - 13:48:40 CST

Original text of this message

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