June 29, 2009
Itzik provides a logic puzzle involving finding a substitute for dice.
SQL Server Magazine
July 2009
If performance is your main goal, you should use the set-based solution only with very small partition sizes; otherwise, you should use the CLR-based solution.
SQL Server Magazine
June 6, 2009
Itzik responds to a reader comment about the article “Set-Based vs. Cursor-Based Solutions for Running Aggregates.”
SQL Server Magazine
May 31, 2009
Itzik describes a tip regarding working with cursor variables in the local batch.
SQL Server Magazine
May 28, 2009
Itzik demonstrates how you can optimize queries that use both regular aggregates and ones with DISTINCT.
SQL Server Magazine
June 2009
Although set-based solutions to running aggregations have many advantages over cursor-based solutions, cursor-based solutions can provide better performance in certain cases, such as when dealing with very large partitions.
SQL Server Magazine
April 30, 2009
Itzik demonstrates causes that prevent caching of temporary objects across invocations of a routine.
SQL Server Magazine
April 27, 2009
Itzik provides a tip to help you identify plans in cache.
SQL Server Magazine
May 2009
Both the subquery and join solutions perform reasonably well for calculating running aggregates when you have very small partitions, but the join approach is best for calculating multiple aggregates.
SQL Server Magazine
April 22, 2009
Windows IT Pro
March 29, 2009
Itzik describes findings of Will Alber concerning the article Optimizing a Suboptimal Query Plan.
SQL Server Magazine
March 24, 2009
Itzik introduces his new book – Inside Microsoft SQL Server 2008: T-SQL Querying.
SQL Server Magazine
April 2009
Itzik discusses four enhancements, including composable DML, the ability to declare and initialize variables in the same statement, compound assignment operators, and more reliable object dependency information.
SQL Server Magazine
February 28, 2009
Itzik describes a puzzle involving sums of values.
SQL Server Magazine
February 27, 2009
Itzik addresses a reader request to calculate the difference in terms of months between two dates.
SQL Server Magazine
March 2009
SQL Server 2008 provides several small T-SQL features, such as an enhanced VALUES clause, improved ISO week number calculation, and the ability to convert character to binary and binary to character values while preserving the hexadecimal digits.
SQL Server Magazine
January 30, 2009
Itzik provides a solution to the T-SQL challenge to write a custom sequence generator that is based on a single statement.
SQL Server Magazine
January 26, 2009
Itzik provides a T-SQL challenge involving a custom sequence generator.
SQL Server Magazine
February 2009
Use a Common Language Runtime (CLR) split user-defined function (UDF) or SQL Server 2008’s new table-valued parameters to handle arrays as inputs.
SQL Server Magazine
February 2009
Enhancements to CLR table-valued user-defined functions in SQL Server 2008
SQL Server Magazine
Add these Headlines to your Website