Re: Timeout with Where statement
From: Frank Petrucci (fpetrucci007_at_yahoo.com)
Date: 05/21/04
- Next message: Frank Petrucci: "Re: Timeout with Where statement"
- Previous message: Gabriel Michaud: "Re: ADO Asynchronous Problems on dual-cpu / hyperthreading computers"
- In reply to: Val Mazur: "Re: Timeout with Where statement"
- Next in thread: Val Mazur: "Re: Timeout with Where statement"
- Reply: Val Mazur: "Re: Timeout with Where statement"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 21 May 2004 06:06:04 -0700
I tried creating indexes using the fields in the query:
SELECT TOP 10 *
FROM GRS.IDX_DOC INNER JOIN
GRS.IDX_DOC_PROP ON GRS.IDX_DOC.DOC_ID = GRS.IDX_DOC_PROP.DOC_ID INNER JOIN
GRS.IDX_PROP ON GRS.IDX_DOC_PROP.PROP_ID = GRS.IDX_PROP.PROP_ID
WHERE (GRS.IDX_DOC.RECORDED_DATE > '1/2/2003') AND (GRS.IDX_DOC.RECORDED_DATE < '1/16/2004')
but I still get a timeout running under enterprise manager. I did not create clustered indexes. Do you think I need to add more fields to the index to make it run faster?
- Next message: Frank Petrucci: "Re: Timeout with Where statement"
- Previous message: Gabriel Michaud: "Re: ADO Asynchronous Problems on dual-cpu / hyperthreading computers"
- In reply to: Val Mazur: "Re: Timeout with Where statement"
- Next in thread: Val Mazur: "Re: Timeout with Where statement"
- Reply: Val Mazur: "Re: Timeout with Where statement"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|