I guess,
When i use temporary table in Stored Procedure ,the stored procedure will be automatically recompiled.
Kindly give me the other possibilites.
I guess,
When i use temporary table in Stored Procedure ,the stored procedure will be automatically recompiled.
Kindly give me the other possibilites.
It's all here: Execution Plan Caching and Reuse under the section "Recompiling Execution Plans"
Optimizing SQL Server Stored Procedures to Avoid Recompiles