Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ** SQL QUERY TUNING
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
![]() |
![]() |