Category: T-SQL

Rob Farley discusses some solutions and gotchas for implementing a custom sort using ORDER BY in T-SQL queries.
October 17, 2016 | SQLPerformance.com | Execution Plans, T-SQL 0
Aaron Bertrand explains why he codes defensively - matching the case of data type names, even when it isn't strictly necessary.
October 4, 2016 | Aaron Bertrand | #BackToBasics, T-SQL 0
Paul White shows that SQL Server sometimes produces very misleading information about the impact of sort operations.
September 27, 2016 | SQLPerformance.com | Execution Plans, T-SQL 0
Aaron Bertrand talks about pattern matching, a childhood game called Simon, and the unpredictability of CHARINDEX vs. LIKE.
September 6, 2016 | SQLPerformance.com | T-SQL 0
Rob Farley explains why AT TIME ZONE is his new favourite feature in SQL Server 2016, but also shows that it can make a mess of cardinality estimates.
Melissa Connors discusses locating & resolving SQL Server database trust issues (check constraints & foreign keys).
Aaron Bertrand continues his #EntryLevel challenge, discussing DATEFROMPARTS() and similar functions introduced in SQL Server 2012.
Today I presented at Discovery Day New England, a SQL Server 2016 event (sponsored in part by SQL Sentry) held at the Microsoft office in Cambridge, MA. Attached are demos and slide decks.
Continuing the EntryLevel challenge, Aaron Bertrand discusses optimizing the kitchen sink procedure with dynamic SQL and, optionally, OPTION (RECOMPILE).
Aaron Bertrand answers the question "Is a RID Lookup faster than a Key Lookup?" on the SQLPerformance.com blog.
Aaron Bertrand shows that, at least for a large number of...
Aaron Bertrand shares his slides and demos from his two SQL Intersection.
Aaron Bertrand follows up on a recent post about the performance...
Aaron Bertrand explores yet another scenario where a date/time...
Paul Randal (@PaulRandal) continues his knee-jerk performance tuning series, focusing on ways to optimize performance when using temporary table
April 6, 2016 | SQLPerformance.com | T-SQL, tempdb 0

Top Categories

See all

Get the best SQL query analysis and optimization tool – free!

Plan-Explorer-logo-RGB-800px
  • Index Analysis Sandbox
  • Statistics Analysis with Histogram
  • Management Studio Add-in
  • Plan Diagram
  • Deadlocks
  • History and Comments
Free Download Learn More