Tony Davis

Tony Davis is an Editor with Red Gate Software, based in Cambridge (UK), specializing in databases, and especially SQL Server. He edits articles and writes editorials for both the Simple-talk.com and SQLServerCentral.com websites and newsletters, with a combined audience of over 1.5 million subscribers. You can sample his short-form writing at either his Simple-Talk.com blog or his SQLServerCentral.com author page.

As the editor behind most of the SQL Server books published by Red Gate, he spends much of his time helping others express what they know about SQL Server. He is also the lead author of the book, SQL Server Transaction Log Management.

In his spare time, he enjoys running, football, contemporary fiction and real ale.

Follow Tony Davis via

02 September 2008
02 September 2008

Application Usability and the JFDI Button

It is strange how we, as software developers, get caught up in using conventions in applications that seem to be designed merely to irritate the users. Why do we do it? I think that it is because we tend to think that whatever Microsoft does is best practice. One of the worst habits is to … Read more
18 August 2008
18 August 2008

SQL Server 2008: Refinement but no Fireworks

The SQL Server platform expanded substantially with the arrival of SQL Server 2005, introducing many features that people now rely on every day (Try-Catch error handling, DDL triggers), as well as a few that captured people’s attention but ultimately left many scratching their heads (CLR integration). SQL Server 2008, just released, is not a radical … Read more
06 August 2008
06 August 2008

Anxiety, Dissent and the Entity Framework

There is trouble afoot amongst the MVPs who are specialising in Object-Relational mapping (ORM). When the NHibernate mafia, a.k.a. ALT.NET, released their ADO .NET Entity Framework Vote of No Confidence, many of us despaired. Suddenly, it looked more like ANGST.NET than ALT.NET. As I scanned through the long list of names who had signed the … Read more
08 July 2008
08 July 2008

VB.NET: The Ugly Duckling

One of the greatest pleasures of programming in C# is that wonderful, giddy, feeling of superiority one has over VB.NET programmers. In C#, one has a vague awareness that what one is doing has elegance and style. It must be the effect of the curly braces. By contrast, VB.NET steadfastly maintains its status as the … Read more
24 June 2008
24 June 2008

SQL Server Tumbleweed Awards

Several parts of SQL Server look as though they were started and then suddenly abandoned. The classic example is the TEXT datatype. Phil Factor has a theory on most things, and in this case it’s that the programmer responsible for implementing the TEXT datatype at Microsoft succumbed to the unbearable pressure of the job, one … Read more
06 June 2008
06 June 2008

CLR, beer and turkey

It is strange that two important programming techniques in a SQL Server Database can’t be done in TSQL. The first is, of course, being able to read multiple results from a stored procedure. You can do it in ODBC/ADO and so on, but not in TSQL. The other obvious failing is that one cannot write … Read more
29 April 2008
29 April 2008

Bad Database Security

The Daily WTF recently reported that the Sexual and Violent Offender Registry of Oklahoma had to shut down its website for ‘routine maintenance’. It turns out that this routine maintenance was necessary because 10,597 social security numbers from sex offenders had been downloaded, by SQL injection. Sadly, this is not an isolated case. There has … Read more
01 April 2008
01 April 2008

That ain’t a database, it’s a spreadsheet!

“That ain’t a database, it’s a spreadsheet!” From the Sayings of Phil Factor There is a world of difference between an enterprise-level relational database and a ‘repository of persistent data’. Until you’ve had the experience of dealing with a high-volume, high-transaction database with large amounts of data, the truth of this doesn’t really hit home. … Read more
12 February 2008
12 February 2008

SQL Server Diagnostics

SQL Server diagnostics are a mess. To monitor the well-being of a server, you need to be able to inspect all logged errors, have a whole raft of performance information, WMI data, and be able to study the history of backups and scheduled jobs. You have to monitor server downtime, low disk space, low physical … Read more
08 January 2008
08 January 2008

TSQL and the Tower of Babel

It is always a bit of a strain to program in several languages at once. A simple task like writing a database-driven website will involve you in at least three, maybe more. The experience of diving into JavaScript, VB.NET, and TSQL, all at once, is one that most human brains aren’t, in evolutionary terms, designed … Read more
15 November 2007
15 November 2007

LINQ and vNext

The history of IT is littered with the corpses of software companies that assumed that a solution that worked well in particular circumstances would necessarily become a generic panacea. Who, for example, now remembers the past giants of the Workflow industry? The Orcas chrysalis is now hatching into the Visual Studio 2008 butterfly. Well, most … Read more
18 September 2007
18 September 2007

Registering for PASS: the deadly game

MONDAY, 17 September 2007 On a slightly overcast Denver Monday morning, I strolled into the Colorado Convention Centre, intent on registering for the PASS conference. I stared in wonderment at the distinctive blue bear, entered the building, and followed the sign for “PASS registration”. I duly approached the registration desk. “Hi, I’m here to register” … Read more