Last year I had a health scare that got my blood pressure at 200-and-something over 100-and-something, soon to be wired up to an IV drip,… Read More »I don’t blog anymore, but not because I work at Microsoft
Next week on Wednesday 28 July 2021, I will be presenting a brand-new session titled “How SQL Server stores that data type” for the free… Read More »Join me at the EightKB virtual conference on 28 July 2021
If you’d like to check out the previous instalment in this series on storing dates and times, click here. I avoided mentioning this data type… Read More »How SQL Server stores data types: DATETIMEOFFSET
This is the seventh post in my retrospective attempt to answer every T-SQL Tuesday invitation. In the beginning of June 2010, Jorge Segarra invited us… Read More »T-SQL Tuesday Retrospective #007: Summertime in the SQL
This post looks at a curious data type that isn’t really a data type. Instead, sql_variant tries to be all things to all people. As… Read More »How SQL Server stores data types: sql_variant
Two years ago I wrote a post that got a lot of traction in the comments at the time. Last month there was renewed interest… Read More »The final word on storage for DATETIME2
This week we’re looking at how the database engine stores GUIDs (globally unique identifiers), specifically known as UNIQUEIDENTIFIER in SQL Server. If you would like… Read More »How SQL Server stores data types: UNIQUEIDENTIFIER
In this post we are looking at how SQL Server stores floating point values (FLOAT and REAL). If you’d like to read the previous posts… Read More »How SQL Server stores data types: floating points
On Twitter, Michael Dyrynda writes: ⚠️ Never ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever ever… Read More »How should I store currency values in SQL Server?
In this post we look at how SQL Server stores currency values using the MONEY and SMALLMONEY data types. If you’d like to read the… Read More »How SQL Server stores data types: money
This week we’re going to look at how numbers are stored. This post will cover integers (TINYINT, SMALLINT, INT, BIGINT), and decimals (DECIMAL, which is… Read More »How SQL Server stores data types: integers and decimals
This post dives into how SQL Server stores date and time data types in memory and on disk. But first, a note about endianness: CPUs… Read More »How SQL Server stores data types: dates and times
In my home lab I have an Ubuntu virtual machine that runs both SQL Server 2017 and SQL Server 2019 in Docker containers.
After SQL Server 2019 Release Candidate 1 was released, when I performed my usual migration to get the latest version, I noticed that the command line for the SQL Server instance was different.
sudo docker ps -a --no-trunc to see the full command, which is emulated below (note: this output is heavily abbreviated).
An exciting new feature in SQL Server 2019 is Accelerated Database Recovery (ADR). Resulting from a combination of magic beans and smart software developers (I… Read More »Accelerated Database Recovery in SQL Server 2019: Choose your own filegroup for the version store