top of page

SQL Friday Session: How to Use Parameters Like a Pro & Boost Performance?

Does your query sometimes run fast and sometimes slow – even when nothing’s changed? Did it happen to you that a stored procedure, which had always been running for less than a second, suddenly started to run for more than 5 seconds consistently – even when nothing had changed?


Parameters are a fundamental part of T-SQL programming, whether they are used in stored procedures, in dynamic statements or in ad-hoc queries. Although widely used, most people aren’t aware of the crucial influence they have on query performance. In fact, wrong use of parameters is one of the common reasons for poor application performance.

In the last SQL Friday session, I explained about plan caching and how the query optimizer handles parameters. I demonstrated the pros and cons of parameter sniffing (don’t worry if you don’t know what that means).


But most important, we discussed how to identify performance problems caused by poor parameter handling, and many techniques for solving these problems to boost your application performance.


You can find the training presentation and scripts here.


ree

댓글 2개


게스트
7 days ago

bomwin là nơi hội tụ tinh hoa cá cược online, đa dạng trò chơi và dịch vụ chuẩn quốc tế. Tất cả chỉ cách bạn một cú nhấp vào link bomwin to – đơn giản, tiện lợi.


좋아요

게스트
8월 14일

fm88.com khẳng định vị thế trong năm 2025 nhờ vào nền tảng công nghệ cao, giao diện tối ưu cho mọi thiết bị và cam kết bảo mật tuyệt đối cho toàn bộ người dùng.

좋아요

STAY IN TOUCH

Get New posts delivered straight to your inbox

Thank you for subscribing!

bottom of page