Rich

Hi there, my name is Rich! I am a database developer or formerly a Senior Information Systems Analyst working in the United Kingdom. This website is my place on the internet for things I have created, articles, tutorials and anything else I would like to share, mainly related to SQL Server and data.

Posts by Rich

Releasing Sequel Formula

It has been a long time since a blog post was written here, however today we are announcing the …

SQL Server Pivot

In this post we are going to have a look at a very basic PIVOT table and how to go about creating …

What is a primary key

In Database Design you will often see tables with a PRIMARY KEY these can be seen in the database …

The Future Of Rich In SQL

Rich In SQL as a blog turns 12 months old this year, although I have been periodically posting to a …

2021 Year In Review

Another year is complete and when I was thinking about what to write for my year in review post I …

2021 - Merry Christmas

Photo By Annie Spratt This is just a quick post to wish you all a very Merry Christmas, whatever you …

Recording Deleted Rows

Recently, we had a user delete a number of rows from a production database by mistake, it transpired …

Strings And Numbers

Something new happened this week, well not new in the sense like buying a new car but new to me, I …

How to Use Datediff

In this post, I want to take a look at datediff, how it works and how I use it as part of my job.

How to Use Dateadd

When I first starting learning T-SQL things like DATEADD took a really long time for my brain to …

Functions In Views Are Bad

One of the things I have spent a lot of time investigating recently is slow running queries, why are …

Building a calendar table

I have been working on a project at work that needed to make use of a calendar, the data warehouse …

CHAR Limitations

Recently we had an issue raised that a user was getting an error thrown in the application front end …

Using Chocolatey

One of the most time consuming tasks when configuring a new computer is installing all of the …

Missing In Action

It is no secret that the past 18 months has been a challenge for everyone, worldwide.

Moving To Jekyll

Last weekend I made a decision, after what feels like a lifetime having sites running on WordPress I …

My Current 2019 Setup

I have never done a my setup post here before, I don’t think it ever occurred to me that it …

Taking dbatools further

Last week I wrote about how I was getting started with dbatools a lot has happened since then, I …

Whats eating up tempdb

So, I have a problem, TempDB is blowing up, I don’t know what is causing it but I need to …

SQL Server And Dates

Dates are one of the things I find myself googling more than anything else when writing queries, so …