Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Dynamic SQL

$
0
0

 Hi, How good are Dynamic SQL queries for SQL Server's better peformance ? I m just asking because I got a request from one of our developers to tune a stored proc that he develped. It has 800 lines code and all dynamic sql. Its always harder for me to read through the dynamic sql code and understand. What about Database engine? Does it handle better? 

  The stored proc has all the variables and sp_execsql everywhere. 

Please advise.

Thank you

 


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>