AFAIK, it has two origins:

1- To make editing text sql scripts easier,
in terms of alignment between the predicates.

2- As a trick to enhance the WHERE clause in
blocks in Forms, very old versions.

Other than that never heard it made the slightest
difference to the CBO.
Cheers
Nuno Souto
[EMAIL PROTECTED]
----- Original Message ----- 
> 
> "the 1=1 is in there to avoid doing repetitive index scans for single
> rowids, when the app "knows" the result set is going to be manipulated
> rowid's for a large subset of the table. I would guess your DUAL/CBO example
> had some similar effect."
> 
> Is anyone familiar enough with this tweak to explain it ?
> 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Nuno Souto
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).

Reply via email to