OT: Funniest line in the manual.

2002-03-26 Thread Jonathan Lewis


Do you have a favourite (or favorite) joke in the
Oracle manuals.  I've been reading the Oracle 9
SQL reference manual - as one does from time 
to time - and spotted this gem on p. 2-97:

quote
/*+ ordered_predicates */
Use this hint in the WHERE clause of SELECT
statements.
/quote

Can I propose this one for urban legend status 
for 2004 ?



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




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jonathan Lewis
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



Re: OT: Funniest line in the manual.

2002-03-26 Thread Connor McDonald

You mean all this time my hints like the following:

select *
from table
where /*+ LET_ME_CHOOSE_THE_ORDER */
  /*+ DO_ME_FIRST */ col1 = 12 and
  /*+ NOT_ME_YET */  col2 = 13 and
  /*+ WHEN_YOU_GET_A_MOMENT_TRY_ME */ col3 = 14

isn't going to work ?

:-)

 --- Jonathan Lewis [EMAIL PROTECTED]
wrote:  
 Do you have a favourite (or favorite) joke in the
 Oracle manuals.  I've been reading the Oracle 9
 SQL reference manual - as one does from time 
 to time - and spotted this gem on p. 2-97:
 
 quote
 /*+ ordered_predicates */
 Use this hint in the WHERE clause of SELECT
 statements.
 /quote
 
 Can I propose this one for urban legend status 
 for 2004 ?
 
 
 
 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
 
 
 
 
 -- 
 Please see the official ORACLE-L FAQ:
 http://www.orafaq.com
 -- 
 Author: Jonathan Lewis
   INET: [EMAIL PROTECTED]
 
 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: [EMAIL PROTECTED] (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). 

=
Connor McDonald
http://www.oracledba.co.uk (mirrored at 
http://www.oradba.freeserve.co.uk)

Some days you're the pigeon, some days you're the statue

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?Connor=20McDonald?=
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



Re: OT: Funniest line in the manual.

2002-03-26 Thread Brian_P_MacLean


Actually, when you think about this for a moment, it's not such a bad idea.
The format below would need some improvement but WTF.  I bet it ends up
being an Oracle 9i release 'n' feature.

 where use_nested{A.col1 = B.col1, taba_pk, tabb_pk}
 where use_bitmap{A.sex = 'M', taba_bdx}

I'll bet 90% of Oracle's new features started out as an I Wish in
somebodies head at 3 in the morning.

Brian P. MacLean
Oracle DBA, OCP8i



   

Connor 

McDonald To: Multiple recipients of list ORACLE-L 
[EMAIL PROTECTED]   
hamcdc@yahoo.   cc:   

co.uk   Subject: Re: OT: Funniest line in the 
manual. 
Sent by:   

[EMAIL PROTECTED] 

om 

   

   

03/26/02 03:45 

PM 

Please respond 

to ORACLE-L

   

   





You mean all this time my hints like the following:

select *
from table
where /*+ LET_ME_CHOOSE_THE_ORDER */
  /*+ DO_ME_FIRST */ col1 = 12 and
  /*+ NOT_ME_YET */  col2 = 13 and
  /*+ WHEN_YOU_GET_A_MOMENT_TRY_ME */ col3 = 14

isn't going to work ?

:-)

 --- Jonathan Lewis [EMAIL PROTECTED]
wrote: 
 Do you have a favourite (or favorite) joke in the
 Oracle manuals.  I've been reading the Oracle 9
 SQL reference manual - as one does from time
 to time - and spotted this gem on p. 2-97:

 quote
 /*+ ordered_predicates */
 Use this hint in the WHERE clause of SELECT
 statements.
 /quote

 Can I propose this one for urban legend status
 for 2004 ?



 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




 --
 Please see the official ORACLE-L FAQ:
 http://www.orafaq.com
 --
 Author: Jonathan Lewis
   INET: [EMAIL PROTECTED]

 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: [EMAIL PROTECTED] (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).

=
Connor McDonald
http://www.oracledba.co.uk (mirrored at
http://www.oradba.freeserve.co.uk)

Some days you're the pigeon, some days you're the statue

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: =?iso-8859-1?q?Connor=20McDonald?=
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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