SQL Server Stored Procedure Design for Flexible Record Lookup
Using CTEs and JSON to Support Multiple Matching Strategies

Search for a command to run...
Articles tagged with #sql
Using CTEs and JSON to Support Multiple Matching Strategies

As part of rewriting the documentation for my custom API, I needed to test each endpoint to ensure it behaved as expected, including validating both input and output. During this process, I discovered that several existing stored procedures required ...

When managing SQL Server stored procedures, there are times when I need to quickly generate scripts for them, usually for backups, migrations, a specific client or functionality, or documentation. In this document, I show how I use T-SQL and PowerShe...

Error handling is an important part of writing SQL code. Whether working with stored procedures, triggers, or transactions, proper error handling ensures that database operations remain reliable, maintainable, and capable of handling unexpected situa...

And the nuances of transaction management in SQL Server

A Practical Toolkit for Managing Servers and Databases
