Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Stored Proc containing a Dynamic SQL

Author  Topic 

LLatinsky
Starting Member

38 Posts

Posted - 2000-11-21 : 11:28:54
When you create a stored procedure that will build a dynamic SQL statement is it necessary to specify the 'WITH RECOMPILE' option in the CREATE PROCEDURE for the query optimization reasons?

   

- Advertisement -