Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index Tuning
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Index Tuning
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01194126
Message ID:
01194126
Vues:
52
I have a query that was running slow, so I went into SQL Query Analyzer and ran the Index Tuning Wizard. I saw a dramatic increase of 96% and the query that used to take over a minute now runs in just 4 seconds.

My problem is I am not seeing this improved performance in my C# application. When I execute the query from code, it still takes over a minute. Is there anything I need to do in code to take advantage of the new index that was created?

Thanks in advance for any assistance.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Répondre
Fil
Voir

Click here to load this message in the networking platform