SQLBits, Incremental Statistics and Demo Fail
So another great SQLBits is done and dusted, many thanks to the team, helpers and sponsors for putting on such a great event. It’s always a pleasure and honour to be able to present here and to get to...
View ArticlePlease use my filtered index
Not long ago we had a requirement to timeout asynchronous application tasks not completing within an expected period (defined per task type). There is a high hit rate on the table with the number of...
View ArticleMy spaced used scripts
I suppose everyone has a set of scripts they lean on to help make sense of it all. These scripts are my version of sp_spaceused, one to query a specific table and the other at db level. Admittedly...
View ArticleIncreasing ColumnStore compression ratio for archival and “Cold storage”
At my present client, part of the task I have to under take is to re-engineer the “Cold Storage”. This is ~20Terabytes of compressed CSVs going back over 15 years or so. Presently these are held on...
View ArticleThe maths most SAN engineers do not understand in context of Database Servers
I suppose I write this post to mock some of the things I keep seeing in the industry today. Directly Attached Storage (DAS) has moved on dramatically in the past 5 years, a single SSD has the...
View ArticleGetting out of the ground with TSQL Smells.
At SQLBits I had a number of conversations with a number of people over TSQL Smells, my open source project for static code analysis of SQL Code. The general opinion was that although the concept was...
View ArticleSSDT SQLCLR integration : a case of the cart before the horse
I’ve very recently needed to delete an XEvent session’s asynchronous file target as part of tearing down the session. Native support is non-existent. What better than a simple SQLCLR stored proc....
View ArticleUsing ADO.NET from F# – Examples
ADO.NET is dead and replaced many years ago but this week I needed to write a bit of ADO.NET against SQL Server to test out Prepared statements and server side cursors for an application that requires...
View ArticleSQL Unit Testing – dynamic connection configuration
I have recently joined the SQL unit testing bandwagon and love it, especially the pretty instant feedback when a code change impacts some other area in an unexpected way. Until now I have liked to...
View ArticleSQL Saturday 467 – Precon – Query processing and internals
Im not doing a tremendous amount of public speaking this year and concentrating on more professional matters, however im pleased to say that on Friday 5th December i will be presenting a day long...
View ArticleGet the dates of the ‘x’ occurrence of the Weekday within the Month
You may want to find for example the date of the 4th Saturday in each month for a given year. This function came out of answering the question here:...
View ArticleA first look at Redgate Reference Data Manager
Over the past few years one of the big drives and innovations in the SQL Server world, has been to bring database schema changes into a full ALM (Application Lifecycle Maintenance Methodology). There...
View ArticleSQL From South West to Scotland : SQLSaturdays #496 & #502
I’m happy, honoured and humbled to be able to say that I will be presenting pre-cons and both SQL Saturday 496 in Exeter and SQL Saturday 502 in Edinburgh. SQL Saturday 496 Exeter is on Friday 11th...
View ArticleSQL Saturday 496 Exeter – PreCon Agenda
Hi Unfortunately due to matters outside of my control, SQL Saturday 502 in Edinburgh has been cancelled, I would like to thank the team though for selecting my pre-con. Let me know if you would have...
View ArticleUsing PowerBI & MAP Toolkit & to review your SQL Server Environments
This is a posting for T-SQL Tuesday #75 As the SQL Server & BI Consulting Practice lead in a Tier-1 managed Microsoft Partner consulting company www.Northdoor.co.uk , my role often involves me...
View ArticleMy favourite wait state– ASYNC_NETWORK_IO
Sometimes it does feel that a problem is a database problem until proven otherwise. When this does occur I have had to put a lot of time and effort into demonstrating the hows and whys. One of the...
View ArticleA first look at SQL Server 2016–String_split
I’ve been developing T-SQL for about 20 years now and almost since day one there has been functionality that , IMO, has been missing. That is grouped string concatenation (ie forming a delimited...
View ArticleA journey to a movie recommender in U-SQL
I haven’t gotten to involved in the whole “Big Data” movement to much, I’ve kept an arms length watch and played around with a few of those technologies but never really jumped in and got down and...
View Article.Net 4.6.1 and MultiSubnetFailover
Im not a big clustering/HA expert, but I obviously understand the need for such things to exist However, the standard SQL tooling, SSMS etc, seems to go out of its way to make the MultiSubNetFailover...
View ArticleINSIDE-SQL – Why run a conference
Hello Most will know that I have been running Usergroup events on SQL Server / Data Platform for a few years now, the last couple of them as the leader of the PASS London Chapter...
View Article