Joe Celko The DIS-Information Principle: A Splitting Headache You can easily re-factor bad DML code, but if a database design is wrong, you can do little to rescue... 17 August 2010 10 min read
Mike Mooney When Database Source Control Goes Bad It is a question every development manager dreads; "So how does your company handle database changes?". The reply usually masks... 05 August 2010 25 min read
Phil Factor SQL Server CRUD-Generation from System Views If you are not keen on repetitive typing, you can still rapidly produce production-quality documented code by planning ahead and... 09 July 2010 16 min read
Joe Celko Binary Trees in SQL A number of hierarchies and networks are most convenently modelled as binary trees. So what is the best way of... 22 June 2010 13 min read
Alex Kuznetsov Developing Modifications that Survive Concurrency You can create a database under the assumption that SQL looks after all the problems of concurrency. It will probably... 22 June 2010 40 min read
Joe Celko Book Review: Defensive Database Programming With SQL Server It distils a great deal of practical experience; the writing of it was a considerable task; It packs in a... 10 June 2010 4 min read
Robert Sheldon SQL Server APPLY Basics One of the most interesting additions to SQL Server syntax in SQL Server 2005 was the APPLY operator. It allows... 24 May 2010 12 min read
Robert Sheldon SQL Server Common Table Expression (CTE) Basics The SQL Server common table expression was introduced into standard T-SQL to simplify queries for which a derived table just... 29 April 2010 11 min read
Phil Factor Exploring SQL Server table metadata with SSMS and TSQL Phil shows how to start squeezing powerful magic from SSMS for doing a detailed exploration of the metadata of your... 29 April 2010 21 min read
Alex Kuznetsov Basic Defensive Database Programming Techniques We can all recognise good-quality database code: It doesn't break with every change in the server's configuration, or on upgrade.... 31 March 2010 36 min read
Joe Celko Celko’s SQL Stumper: Eggs in one Basket Joe Celko reveals the winner of his Easter Stumper: the puzzle of designing an apparently simple database to deal with... 29 March 2010 13 min read
Phil Factor Exploring your database schema with SQL In the second part of Phil's series of articles on finding stuff (such as objects, scripts, entities, metadata) in SQL... 02 March 2010 23 min read
Joe Celko Procedural, Semi-Procedural and Declarative Programming in SQL A lot of the time, the key to making SQL databases perform well is to take a break from the... 15 February 2010 10 min read
Phil Factor Finding Stuff in SQL Server Database DDL You'd have thought that nothing would be easier than using SQL Server Management Studio (SSMS) for searching through the DDL... 04 February 2010 24 min read
Paul Nielsen Switching rows and columns in SQL When they use SQL Server, one the commoner questions that Ms Access programmers ask is 'Where's the TRANSFORM/PIVOT command? So... 04 February 2010 4 min read
Phil Factor Laying out SQL Code It is important to ensure that SQL code is laid out the best way for the team that has to... 21 January 2010 17 min read
Joe Celko Celko’s SQL Stumper: The Class Scheduling Problem What can we use in SQL instead of E. F. Codd's T theta operators for best-fit? Joe Celko returns with... 19 January 2010 8 min read
Fabiano Amorim 13 Things You Should Know About Statistics and the Query Optimizer Fabiano launches into a sound technical explanation of the way that the query optimiser works in SQL Server with a... 07 January 2010 24 min read
Phil Factor The SQL of Scrabble and Rapping In which Phil decides to use a table consisting of all the common words in English to explore ways of... 25 December 2009 15 min read
Phil Factor Pivoting, Un-pivoting and Aggregating: A Quick Spin Around the Block In which Phil is asked to write a nice simple quick-start guide about aggregation, pivoting and un-pivoting techniques. To do... 12 November 2009 17 min read