Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clear cache?
Message
De
20/06/2000 18:26:35
 
 
À
20/06/2000 13:04:13
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
00382225
Message ID:
00382455
Vues:
21
Mike,

I had tried WITH RECOMPILE to no avail - I don't have the book - so if you happen to find time to look that up, I would be appreciative.

thanks!
Ken


>Ken,
>
>First, you could try executing the stored procedure with the WITH RECOMPILE option, which would cause SQL Server to reoptimize the stored procedure. The original query plan would remain in cache, eventhough the BOL says otherwise.
>
>There are two DBCC commands, neither of which I remember off the top of my head. If you have a copy of Inside SQL Server 7.0 (Delaney), both are covered there. I just don't have my copy handy.
>
>-Mike
>
>
>>Hi,
>>
>>I have a stored proc that drags like crazy "first time each day or session" it is run. After that it runs fine (I assume becuase it is compiled and cached) making it difficult to figure out where the problem is. Is there a command/function that can clear the procedure cache and force this procedure to always act like it is "first time of the day"?
>>
>>TIA,
>>Ken
Ken B. Matson
GCom2 Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform