The SQL Server Date Magic: When CAST and CONVERT Keep Your Index Seek
This article shows two scenarios, tested independently, with the full scripts and the real numbers from each run.
2026-10-16
19 reads
This article shows two scenarios, tested independently, with the full scripts and the real numbers from each run.
2026-10-16
19 reads
I eventually found an explanation for this error message that, while not completely satisfactory, did lead me to diagnose wider-reaching I/O issues on the affected instance and led me to a better understanding of latching in general.
2026-10-16
Share your view on the database landscape and you could win USD$500.
2026-10-16 (first published: 2026-09-28)
A SQL Server upgrade left a log shipping secondary unable to accept transaction logs. Re-seeding it without touching the primary or its mirror is straightforward in principle — drop, restore full + diff + log with NORECOVERY, hand back to the job — but three undocumented traps will stop you along the way. Here's what they are and how to get past them.
2026-10-14
872 reads
Should SQL Server databases enforce foreign key constraints? A veteran DBA breaks down the real arguments
2026-10-14
Learn how to normalize values in Power BI to allow you to compare disparate different data.
2026-10-12
911 reads
Since the transition from DTS to SSIS, I have found myself looking for alternative ways to do simple tasks such as exporting data from SQL Server into text files. SSIS is a far more powerful tool than DTS, but I generally try to stay away from it for simple operations. With the combination of a few T-SQL commands this tip shows you a simple way to export data to text files.
2026-10-12
See how security in SSAS tabular models might not work as you expect, and how you could easily fail an audit.
2026-10-09
902 reads
Discover how a Microsoft-signed system procedure bypasses SQL Server's disabled xp_cmdshell setting - plus detection and mitigation steps for defenders
2026-10-09
Learn how to build a report that shows the health of your database estate that your leadership will read and use.
2026-10-07
1,379 reads
By Steve Jones
This is timely, as I’m currently on a boat in the Adriatic taking a...
You can find the slides and SQL scripts for my session “Spice up your...
By SQLPals
How to Clear the SSMS Cache (SSMS 21 and Later) Updated...
Comments posted to this topic are about the item Risk Vs Reward, The never...
Comments posted to this topic are about the item Hyperscale Replicas IV
Comments posted to this topic are about the item The SQL Server Date Magic:...
In Azure SQL Database Hyperscale Edition, how many geo-replicas can be created?
See possible answers