|
Makes sense - OR is less selective than AND. There are sections in the various DB books on the filter factors used by the optimizer. As far as using a logical or physical, there is no point and no way to force use of a logical just by specifying it - the optimize may find a better index (in its opionion). The only time, I believe, is if the logical has select/omit criteria in it. > > >A query can be creating temporary files that can indeed use up a lot of > >space. I have seen a machine halt due to running out of disk space due to a > >runaway query. When the job is running you can look at how much temporary > >storage it is using to determine if this is happening. > > > >Scott Mildenberger > > I found it under Job Run attributes. Thanks. > > By the way, the user says all they did was add an OR selection to the query. > > Pam Phillips
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.