Code Repository

This page is a repository for the code found in some of my blog posts. If you like my code, feel free to download it and use it. Code Post sp_Template.sql My stored procedure code template dba_runCHECKDB.sql Setting up an e-mail alert for DBCC CHECKDB errors dba_ForEachDB.sql A better sp_MSForEachDB verify_script.sql How to Eat a SQL Elephant in 10 Bites CustomDateFormat.cs SQL Server and Custom Date Formats formatDate_Islands_iTVF.sql SQL Server and Custom Date Formats formatDate_Recursive_iTVF. [Read More]

About

Gianluca Sartori Founder and CEO of Quantumdatis · Microsoft Data Platform MVP I have more than 20 years of experience designing, managing, diagnosing, and optimizing Microsoft data platforms. I have worked hands-on with business-critical production environments and shared practical experience at international conferences. My technical articles and community work have earned me Microsoft Data Platform MVP recognition for 13 years. My areas of focus include: SQL Server performance and architecture High availability and disaster recovery Migration, automation, and mentoring I am a SQL Server and Oracle DBA based in Conegliano, Italy. [Read More]