A reader wanted only the digits from a string like ab123ce234fe. Here is a simple T-SQL loop to remove all characters from a string and keep the numbers.
SQL SERVER – Puzzle – Inside Working of Datatype smalldatetime
A developer got odd results when casting strings sent from an app. This puzzle looks at how the smalldatetime datatype works inside SQL Server.
SQL SERVER – DevOps for the DBA – Notes from the Field #091
DevOps is a buzz word with real substance behind it. In Notes from the Field #091, Stuart Ainsworth explains what DevOps means for a DBA’s daily job.
Recovering Unsaved Query Windows After SSMS Closes Unexpectedly
A restart ate your script, but maybe not all of it. Two places to look: SSMS recovery files and the text SQL Server remembers.
SQL SERVER – Inserting into Sparse Column Sets and Errors Associated With It
You can write to sparse column sets directly, not just read them. I show how to insert into column sets and the errors you hit without an explicit column list.
Interview Question of the Week #029 – Difference Between CHARINDEX vs PATINDEX
Compare CHARINDEX vs PATINDEX, test literal and wildcard searches, preserve positions, and use SQL Server 2025 REGEXP_INSTR when needed.







