THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Davide Mauri

A place for my thoughts and experiences the Microsoft Data Platform

T-SQL quiz: a simple quiz with a an “impossible” solution!

I’m back from vacation in North Cape. What a spectacular place! During my vacation, my friend Itzik Ben-Gan has published a quiz on SQL Server Magazine based on a question that I’ve sent to him after that Timo Qvist - a participant to the Workshop I delivered in Stockholm in June on SQL Server 2008 – raised the question to me.

I had found the answer, but I thought that the question was intriguing because it needed some “out-of-the-box” thinking and a set-based approach – which I’m trying to teach to developers – and so it would be nice to put it into a quiz to see what other approaches and solution could be done to solve the problem.

Here you can find the quiz:

and here the solutions. Kudos to Steve Kass for being able to think “out-of-the-box” more then any other else, and find a solution where no solution seemed to be present!

Published Sunday, August 30, 2009 9:58 PM by Davide Mauri
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS


No Comments

Leave a Comment


About Davide Mauri

Davide Mauri - MCP, MCAD, MCDBA, MCT, MVP on SQL Server - has worked with SQL Server since version 6.5, and his interests cover the whole platform, from the Relational Engine to Analysis Services, from architecture definition to performance tuning. He also has a strong knowledge of XML, .NET and the Object Oriented Design principles, which allows him to have the correct vision and experience to handle development of complex business intelligence solutions. Having worked as a Microsoft Certified Teacher for many years, Davide is able to pass all his knowledge to his co-workers, allowing his team to deliver high-quality solutions. He currently works as a Mentor for SolidQ and can be found speaking in many Italian and internationals events.

This Blog


Privacy Statement