-
Question on Indexes
I got a huge table with a Clustered index on it, when i was querying the same table based on date column....I foud a weird thing...The common Select statement is fast for date before '08/10/2006' and after that for all the days like 9th, 10th, 11th, 12th or 13th the select statment is running for ever.
Then, I dropped my index and recreated it, then it was fine for all dates.
Why it happened? and what is the better way to solve it..?
-
You need update statistics on the table more often.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|