Re: Improve Query
- From: "No Donut For Me via SQLMonster.com" <u28653@uwe>
- Date: Mon, 06 Nov 2006 05:42:24 GMT
Thanks a bunch Arnie...
Arnie Rowland wrote:
I assume you have a good indexing strategy. Not knowing the quantity of data
involved, I would consider that for the first query, you 'should' have these
columns indexed:
type.application_request_status_type_id
req.application_request_status_type_id
req.application_id
req.application_request_id
app.application_id
And for the second, these additional columns indexed:
det.application_request_detail_status_type_id
det.status_desc
req.application_request_detail_status_type_id
And my name is 'Arnie' -NOT 'Arnold'. (How's Philly these days?)
Arnold,[quoted text clipped - 45 lines]
Any help on this would be greatly appreciated, thanks :)
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-mseq/200611/1
.
- References:
- Improve Query
- From: No Donut For Me
- Re: Improve Query
- From: Arnie Rowland
- Re: Improve Query
- From: No Donut For Me via SQLMonster.com
- Re: Improve Query
- From: Arnie Rowland
- Improve Query
- Prev by Date: Re: query
- Next by Date: Re: Set default for null values in unmatched rows of left join
- Previous by thread: Re: Improve Query
- Next by thread: Re: Set default for null values in unmatched rows of left join
- Index(es):