SQL Server Query Tuning Best Practices – Part 5

preview_player
Показать описание
SQL Server MVPs Aaron Bertrand and Kevin Kline continue their series on query tuning best practices. Aaron goes over the “Kitchen Sink” stored procedures and SP_Execute SQL vs. EXEC( ). Next Kevin goes over Execution Plan Self-Destruct. Then, Aaron finishes by talking about to MERGE or not to MERGE.

Рекомендации по теме
Комментарии
Автор

Excellent series of video! Thank you! Much appreciated!

smatofu
Автор


The stored procedure generates dynamic kitchen sink SQL code for you. We use it at our custom software development company in production.

kevinmartintech
Автор

Hello Aaron, what if I need to pass a table name as a variable to a dynamic query? In that case how can I use it with sp_executesql?

suji-rk