Software That Shines

Better Software Blog

Software Insights

SQL Server Temporal Table Tricks and Troubles

Temporal tables are a useful feature introduced with SQL Server 2016 to track changing data.  Here I show a quick example of converting existing data to temporal tables, I show another subtle trick to implement an automatic "modified date" without a history table, and I demonstrate some possible pitfalls with the temporal table behavior.



Read More
Mark SowulSQL ServerComment
A checklist for a better SQL Server setup (2012-2016)

There are a lot of performance best practices with Microsoft SQL Server that can add up to a significant impact; some of them involve the machine, some of them involve Windows. Some of them involve the SQL server instance, and some of them involve the database: many of the defaults when setting up a new SQL instance and database are suboptimal, probably for legacy reasons. (Thankfully, SQL 2016 finally improves all this!)

I've collected as much as I can here into a "one stop shopping" checklist. And you can always contact us for help!

Read More
Mark SowulSQL Server
CloudPets - another internet toy hack

In a perfect world, maybe CloudPets toys would be a positive example of the novel ways that the internet lets us keep in touch with those we care about.  Instead, it's another disastrous example of "what not to do for security".  Often it takes a very small amount of time and effort to drastically improve the resilience of a system, and perhaps more importantly, to minimize the possible scope of a breach.

Read More
Mark Sowulsecurity