Posted by Erland Sommarskog on 02/14/06 01:00
Robert (robert.j.sipe@boeing.com) writes:
> I have not used this sp. We have a dynamic SQL statement generated by a
> sp. For performance reasons I would like to use it to reduce the number
> of explain plans created. I would like to understand its usage and
> pitfalls (if any) to its use. Any comments from the user community?
Explain plans? Isn't that an Oracle term? :-)
Anyway, I have this article on my web site about dynamic SQL:
http://www.sommarskog.se/dynamic_sql.html.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
[Back to original message]
|