Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recompile SP with changed dependent table or view
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01391346
Message ID:
01391411
Views:
38
No. It only marks SPs and triggers affected by sp_recompile to be recompiled next time they used

>
>I guess my question is when you recompile a SP using sp_recompile, does it also inherently perform an ALTER on the procedure as well?
>
>>SQL Server only compiles SPs when they are executed and stores execution plan in the server cache. It should recompile them automatically on next use. You can issue DBCC FREEPROCCACHE to clear the cache.
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform