Tag: query tuning
9.84K Views1 Comments0 Likes
SQL Server MVPs Aaron Bertrand and Kevin Kline begin their series on query tuning best practices. They go over some tips and tricks for writing queries. First, Kevin spends a little time on how to approach your ...
4.09K Views1 Comments0 Likes
SQL Server MVPs Aaron Bertrand and Kevin Kline continue their series on query tuning best practices. Kevin starts by talking about what you should include in test harnesses for testing your SQL code and how to i...
2.68K Views1 Comments0 Likes
Aaron Bertrand and Kevin Kline discuss some of the advantages for specifying the schema when creating, altering and referencing objects. They discuss how specifying a schema can affect performance and how important it is for security. They also use demos to illustrate the importance.
2.79K Views1 Comments0 Likes
Aaron Bertrand explains what the SP_ prefix is and discusses the performance issues with using it when you call a stored procedure. He also mentions a blog post he wrote about the SP_ prefix, which can be found at SQLPerformance.com/sp_prefix.
2.80K Views0 Comments0 Likes
Kevin Kline goes over implicit conversions in SQL Server. He discusses what an implicit conversion is, traps that people fall into with implicit conversions and gives a demo on avoiding implicit conversions. ...
2.13K Views0 Comments0 Likes
In this video, Kevin Kline discusses the transitive property of indexes. He starts out by discussing how the transitive property works in algebra. Then he shares how the transitive property in algebra can be applied to Microsoft SQL Server.
1.96K Views0 Comments0 Likes
Kevin Kline discusses how the two types of temporary objects behave. He also shares some information on what they are good at and what they are not good at.
7.79K Views0 Comments0 Likes
In this video, Scott Fallen shares tips on how to get started with execution plans. He discusses what an execution plan is and why they are important. He also walks through a couple of sample plans.
2.72K Views0 Comments0 Likes
Aaron Bertrand goes over how to generate Ad-Hoc Sets efficiently. He shows examples of how to generate them using recursive CTEs, system tables and number tables and shows which way has the best performance.
2.83K Views0 Comments0 Likes
It's 18:00 o'clock on Friday. You execute a process that usually takes a few minutes and start packing in order to start the weekend. You are already with your bag on your back, but the process doesn't finish. You sta...
2.52K Views0 Comments0 Likes
SQL Server MVPs Aaron Bertrand and Kevin Kline continue their series on query tuning best practices. They discuss how to build a Transact-SQL test harness to provide stability and predictability to your code. Th...
3.31K Views0 Comments0 Likes
Aaron Bertrand discusses one of his favorite topics, comma-delimited parameters. He shows the different ways you can split strings and which ways are the best.