Adrian Hills 6/27/2011

sp_executesql change between 2005 and 2008

Read Original

The article details a specific, breaking change in SQL Server's sp_executesql behavior between versions 2005 and 2008. It provides a code example where a parameterized call to a stored procedure (like 'sp_help @obj') fails in 2005 but succeeds in 2008, and explains the workaround of adding an explicit EXEC statement. This is a technical deep dive for database administrators and developers working with legacy SQL Server versions.

sp_executesql change between 2005 and 2008

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser