Database Administration Enrico van de Laar in Database Administration Determining What Happens When You Force an Execution Plan via the Query Store When you force a query plan via the Query Store, you will need to track what happens: Sometimes the request... 29 November 2016 12 min read
T-SQL Programming Phil Factor in T-SQL Programming Using SQLite with PowerShell and SQL Server When you combine PowerShell and SQLite, you can perform powerful magic. Phil Factor is in awe of SQLite and gives... 03 November 2016 14 min read
T-SQL Programming Joe Celko in T-SQL Programming Triggers: Threat or Menace? Triggers are generally over-used in SQL Server. They are only rarely necessary, can cause performance issues, and are tricky to... 27 October 2016 13 min read
Database Administration Robert Sheldon in Database Administration Retrieving SQL Server Query Execution Plans Execution plans explain all you need to know about query performance, and how to fine-tune. Sure, you can see them... 18 October 2016 26 min read
T-SQL Programming Grant Fritchey in T-SQL Programming Who the Devil Wrote This SQL Code? The way that you format T-SQL code can affect the productivity of the people who have to subsequently maintain your... 05 October 2016 12 min read
T-SQL Programming Edward Elliott in T-SQL Programming Which Edition of SQL Server is Best for Development Work? You might think, as a developer, that nothing but the best is good enough as a development database. You might... 04 October 2016 15 min read
T-SQL Programming Uwe Ricken in T-SQL Programming DELETE Operation in SQL Server HEAPs You should stick to using tables in SQL Server, rather than heaps that have no clustered index, unless you have... 05 September 2016 14 min read
Blogs Phil Factor in Blogs The SQL of Textonyms The task of finding textonyms in SQL involves importing a list of common words and doing transformations on every word... 31 August 2016 14 min read
T-SQL Programming Joe Celko in T-SQL Programming Predicates With Subqueries The ALL, SOME and ANY predicates aren't much used in SQL Server, but they are there. You can use the... 25 August 2016 12 min read
T-SQL Programming Joe Celko in T-SQL Programming Formatting SQL Code – Part the Second When you're formatting SQL Code, your objective is to make the code as easy to read with understanding as is... 10 August 2016 15 min read
T-SQL Programming Joe Celko in T-SQL Programming Formatting SQL Code – Part the First With the formatting of code, we sometimes do things because they've always been done that way, rather than making code... 22 July 2016 16 min read
Joe Celko Looking at VIEWs, Close Up Views in SQL can be difficult. It isn't easy to judge when to use them, It isn't always obvious how... 10 May 2016 23 min read
Robert Sheldon SQL Server System Functions: The Basics Every SQL Server Database programmer needs to be familiar with the System Functions. These range from the sublime (such as... 31 March 2016 22 min read
Robert Sheldon SQL Server Metadata Functions: The Basics To be able to make full use of the system catalog to find out more about a database, you need... 09 March 2016 21 min read
Uwe Ricken When AUTO_UPDATE_STATISTICS Doesn’t Happen When your SQL Server database is set to have its statistics automatically updated, you will probably conclude that, whenever the... 07 March 2016 10 min read
Blogs Phil Factor in Blogs The Luhn Algorithm in SQL The Luhn test is used by most credit card companies to check the basic validity of a credit card number.... 16 February 2016 7 min read
Joe Celko SQL GROUP BY Basics It sometimes pays to go back and look at what you think you already know about SQL. Joe Celko gives... 08 February 2016 15 min read
Joe Celko Declarative SQL: Using CHECK() & DEFAULT SQL is unusual is that data is not passively stored. Instead you use declarative SQL to specify the rules that... 13 January 2016 13 min read
Joe Celko Declarative SQL: Using References There are several ingenious ways of using SQL References to enforce integrity declaratively. Declarative Referential Integrity (DRI) is more effective... 15 December 2015 13 min read
Joe Celko Declarative SQL: Using UNIQUE Constraints In SQL, you can express the logic of what you want to accomplish without spelling out the details of how... 04 December 2015 14 min read