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

Home -> Community -> Usenet -> c.d.o.server -> Re: ** SQL QUERY TUNING

Re: ** SQL QUERY TUNING

From: Dave Adkins <dave_adkins_at_fuse.net>
Date: Tue, 21 Apr 1998 21:39:25 -0400
Message-ID: <6hjhdg$lch$1@defiant.fuse.net>


If you really want all rows that are also null, I don't think you can avoid a scan. But if you want only the FIRSTROWS, you could at least get the response quicker by using the FIRSTROWS hint. If possible, limit the number of rows returned (rownum < 2).

Jürgen Kling wrote ...
>Who can help me to optimize the following SQL-Statement
>select * from table
>where tab_column = 1
> or tab_column is null
Received on Tue Apr 21 1998 - 20:39:25 CDT

Original text of this message

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