Scripts and Tools

Ready-to-run T-SQL scripts, PowerShell tools, utilities, and downloadable advisors for SQL Server DBAs.

Microsoft Copilot Studio for SQL Server DBA Work: The Complete Guide

Microsoft Copilot Studio for SQL Server DBA Work: The Complete Guide Leave a Comment / Articles, AI for Data, Operations, Scripts and Tools / By SQLYARD Microsoft Copilot Studio for SQL Server DBA Work: The Complete Guide By SQLYARD · SQLYARD.com · Updated August 2026 · Estimated read: 26–30 min Microsoft Copilot Studio, current as […]

Microsoft Copilot Studio for SQL Server DBA Work: The Complete Guide Read More »

The Complete PostgreSQL Morning Health Check Guide — From Native Views to a Formatted Report

The Complete PostgreSQL Morning Health Check Guide — From Native Views to a Formatted Report Leave a Comment / Articles, Operations, Scripts and Tools / By SQLYARD The Complete PostgreSQL Morning Health Check Guide — From Native Views to a Formatted Report By SQLYARD · SQLYARD.com · Updated August 2026 · Estimated read: 30–35 min

The Complete PostgreSQL Morning Health Check Guide — From Native Views to a Formatted Report Read More »

SSRS Subscriptions and Schedules: The Complete Inventory, Troubleshooting, and Health-Check Workshop

SSRS Subscriptions and Schedules: The Complete Inventory, Troubleshooting, and Health-Check Workshop Leave a Comment / Articles, Scripts and Tools, Operations / By SQLYARD SSRS Subscriptions and Schedules: The Complete Inventory, Troubleshooting, and Health-Check Workshop By SQLYARD · SQLYARD.com · Updated August 2026 · Estimated read: 14–18 min SQL Server Reporting Services (Native Mode) · Power

SSRS Subscriptions and Schedules: The Complete Inventory, Troubleshooting, and Health-Check Workshop Read More »

When SQL Server Statistics Stop Auto-Updating: Detecting and Fixing the Silent Failure

When SQL Server Statistics Stop Auto-Updating: Detecting and Fixing the Silent Failure – SQLYARD Leave a Comment / Articles, Performance Tuning, Scripts and Tools / By SQLYARD When SQL Server Statistics Stop Auto-Updating: Detecting and Fixing the Silent Failure By SQLYARD · SQLYARD.com · Updated July 2026 · Estimated read: 20–25 min SQL Server’s automatic

When SQL Server Statistics Stop Auto-Updating: Detecting and Fixing the Silent Failure Read More »

SQL Server Index Fragmentation and Statistics: Detection, Alerting, and Maintenance Without Assumptions

SQL Server Index Fragmentation and Statistics: Detection, Alerting, and Maintenance Without Assumptions – SQLYARD Leave a Comment / Articles, Performance Tuning, Scripts and Tools / By SQLYARD SQL Server Index Fragmentation and Statistics: Detection, Alerting, and Maintenance Without Assumptions By SQLYARD · SQLYARD.com · Updated June 2026 · Estimated read: 25–30 min Index maintenance and

SQL Server Index Fragmentation and Statistics: Detection, Alerting, and Maintenance Without Assumptions Read More »

Part 14 — Full End-to-End Project and Architecture Blueprint

Part 14 — Full End-to-End Project and Architecture Blueprint – SQLYARD Leave a Comment / Articles, Data Engineering, Scripts / By SQLYARD Deep Technical Series — Building a Modern Data Warehouse and Lakehouse Part 14 — Full End-to-End Project and Architecture Blueprint By SQLYARD · SQLYARD.com · April 2026 · Estimated read: 35–40 min Part

Part 14 — Full End-to-End Project and Architecture Blueprint Read More »

Part 13 — Security, Governance, Lineage, and Compliance

Part 13 — Security, Governance, Lineage, and Compliance – SQLYARD Leave a Comment / Articles, Data Engineering / By SQLYARD Deep Technical Series — Building a Modern Data Warehouse and Lakehouse Part 13 — Security, Governance, Lineage, and Compliance By SQLYARD · SQLYARD.com · April 2026 · Estimated read: 30–35 min Part 13 of 14

Part 13 — Security, Governance, Lineage, and Compliance Read More »

Part 12 — Performance Engineering and Optimization

Part 12 — Performance Engineering and Optimization – SQLYARD Leave a Comment / Articles, Data Engineering / By SQLYARD Deep Technical Series — Building a Modern Data Warehouse and Lakehouse Part 12 — Performance Engineering and Optimization By SQLYARD · SQLYARD.com · April 2026 · Estimated read: 30–35 min Part 12 of 14 — Deep

Part 12 — Performance Engineering and Optimization Read More »

SQL Server Instance Setup and Best Practices (SQL Server 2016 and Later)

SQL Server Instance Setup and Best Practices (SQL Server 2016 and Later) – SQLYARD Leave a Comment / Articles, DBA Checklist, Scripts / By SQLYARD SQL Server Instance Setup and Best Practices (SQL Server 2016 and Later) By David Yard · SQLYARD.com · April 2026 · Estimated read: 30–40 min Compatibility: Scripts in this guide

SQL Server Instance Setup and Best Practices (SQL Server 2016 and Later) Read More »

SSIS Execution Best Practices: File System vs SSISDB Catalog with Complete Workshop

SSIS Execution Best Practices: File System vs SSISDB Catalog with Complete Workshop – SQLYARD Leave a Comment / Articles, Scripts / By SQLYARD SSIS Execution Best Practices: File System vs SSISDB Catalog with Complete Workshop By David Yard · SQLYARD.com · April 2026 · Estimated read: 20–25 min Compatibility: SSISDB (the SSIS Catalog) has been

SSIS Execution Best Practices: File System vs SSISDB Catalog with Complete Workshop Read More »

Build AI Powered Solutions Using SQL Server 2025 (Step by Step)

SQL Server 2025 makes “AI next to the data” practical by adding native vector storage, vector indexing and search, and first class hooks to embedding endpoints like Azure OpenAI through CREATE EXTERNAL MODEL. This lets you build semantic search and Retrieval Augmented Generation (RAG) without standing up a separate vector database. [1] [2] Below is

Build AI Powered Solutions Using SQL Server 2025 (Step by Step) Read More »

SQL Server 2025: Calling External REST and GraphQL APIs from T-SQL (Part 10)

Introduction SQL Server 2025 introduces one of the most forward-looking features in its history: the ability to call external REST and GraphQL endpoints directly from T-SQL using the new stored procedure: This fundamentally expands SQL Server from a relational engine into a hybrid data-integration platform capable of: • Calling REST and GraphQL APIs• Triggering Azure

SQL Server 2025: Calling External REST and GraphQL APIs from T-SQL (Part 10) Read More »

SQL Server 2025: REGEXP_INSTR() and REGEXP_COUNT() (Part 8)

Introduction Continuing SQL Server 2025’s expansion of native regular expression support, today we cover two functions that focus on location and frequency: • REGEXP_INSTR() – returns the starting or ending position of a matched substring• REGEXP_COUNT() – returns the number of times a pattern occurs in a string Together, these functions let you analyze text

SQL Server 2025: REGEXP_INSTR() and REGEXP_COUNT() (Part 8) Read More »

SQL Server 2025 Security Modernization: What DBAs Need to Know

SQL Server 2025 Security Modernization: What DBAs Need to Know – SQLYARD Leave a Comment / Articles, DBA Checklist, Scripts / By SQLYARD SQL Server 2025 Security Modernization: What DBAs Need to Know By David Yard · SQLYARD.com · April 2026 · Estimated read: 20–25 min Table of Contents Security Changes at a Glance TDS

SQL Server 2025 Security Modernization: What DBAs Need to Know Read More »

SQL Server 2025: REGEXP_SUBSTR() and REGEXP_REPLACE() (Part 7)

Introduction SQL Server 2025 continues expanding its native regular expression capabilities with two highly practical functions: • REGEXP_SUBSTR() – extract a substring that matches a pattern• REGEXP_REPLACE() – replace substrings that match a pattern These functions eliminate years of workarounds involving CHARINDEX, SUBSTRING, PATINDEX, XML methods, and CLR helpers. With SQL Server 2025, you can

SQL Server 2025: REGEXP_SUBSTR() and REGEXP_REPLACE() (Part 7) Read More »

Does Explicit Conversion in SQL Server Improve Query Runtime?

Introduction If you have spent time tuning SQL Server queries, you have probably seen advice like “avoid implicit conversions” or “make sure your data types match.” This guidance shows up in execution plans, performance checklists, and even SQL Server warning messages. But does explicitly converting data types in SQL Server actually improve query runtime, or

Does Explicit Conversion in SQL Server Improve Query Runtime? Read More »

SQL Server 2025 – Feature Deep Dive Series (1 of 10): New Features Overview and Installation Guide

Introduction SQL Server 2025 marks one of the biggest shifts in the SQL Server ecosystem since the 2016 release. We finally get native JSON storage, full RegEx support, BASE64 functions, PRODUCT aggregates, JSON indexes, and the long-awaited external REST endpoint invocation. The goal of this series is to walk through every major new engine feature

SQL Server 2025 – Feature Deep Dive Series (1 of 10): New Features Overview and Installation Guide Read More »