Three plain statements can do the job of MERGE, and each one gives you its own row count. Here is how to build it, test it and trust it.
SQL SERVER – CTE can be Updated
Users often confuse a CTE with a temp table, but a CTE works like a view, and a CTE can be updated just like one. Matthew Spieth’s tip, with my notes.
UNISTR and Unicode Escapes in SQL Server 2025
Build Unicode strings with UNISTR in SQL Server 2025, compare NCHAR, and preserve accented letters, Hindi text, and emoji in storage.
Index Usage Stats Reset: Reading Them Without Being Fooled
Use index usage stats reset in SQL Server with practical examples, clear checks, and the limits you need before changing your database.
MySQL – Beginning Temporary Tables in MySQL
MySQL temporary tables hold result sets for one connection and are dropped when it closes. Here is how to create them and why INFORMATION_SCHEMA skips them.
SQL SERVER – SSIS Look Up Component – Cache Mode – Notes from the Field #028
Many people ignore the SSIS look up component and pay for it in performance. Tim Mitchell explains how its cache mode settings affect your packages.
SQL SERVER – DMV to Identify Incremental Statistics – Performance improvements in SQL Server 2014 – Part 3
Part 3 of my series on SQL Server 2014 performance improvements: a DMV to identify incremental statistics, after the basics and a simple example.
SQL SERVER – Simple Example of Incremental Statistics – Performance improvements in SQL Server 2014 – Part 2
Part 2 of my series on SQL Server 2014 performance improvements: a simple example of incremental statistics, after learning what it is in part 1.
SQL SERVER – What is Incremental Statistics? – Performance improvements in SQL Server 2014 – Part 1
This is the first part of the series Incremental Statistics. Here is the index of the complete series. Let us learn it together in the blog.
SQL SERVER – SELECT INTO with FileGroup or Partitionis Not Possible
Can you use SELECT INTO with FileGroup to create a new table on a specific filegroup or partition? I checked the docs, and it is still not possible.










