Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed up SQL
Message
De
14/06/2013 11:08:44
 
 
À
13/06/2013 05:12:36
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Desktop
Divers
Thread ID:
01576055
Message ID:
01576408
Vues:
55
>
>put this into SSMS
>
>EXEC [dbo].[InvoicesSelectOutstanding] 	@crt_date =GETDATE()
>
>
>select it and into "Query" menu select
>"Analyze Query with Optimization ..." ( this may not be exact syntax )
>
>This suggest statistics and index to optimize the sql script.
>If this doesn't optimize the query,
>you need to rethink the declarative code.
>Remember that SQL engive is complex and not perfect,
>on some cases the plan is wrong.

Thanks Fabio and everyone else,

I had actually already done that and it helped somewhat, but on the customer site it's still not running fast enough. I need to do some more digging, but at the moment I have some higher priorities and will hopefully make some time for this next week.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform