Tag: sql server

SQL Server insights from 25+ years in the field

Performance tips, security advisories, health check findings, and industry analysis. Practical, technically accurate, no fluff.

15 May 2018 · 5 min read

Find the SQL Server Product Key with the Right Script

Retrieve your SQL Server product key directly from the Windows registry using xp_regread. A reliable method for licence audits, migrations and disaster recovery.

Read article →
15 May 2018 · 7 min read

How to Set Up Mirroring in a Workgroup Using Certificate Authentication

Learn how to set up SQL Server mirroring in a workgroup environment using certificate-based authentication, including optional witness server configuration for automatic failover.

Read article →
15 May 2018 · 6 min read

How to Set up DB Mirroring using T-SQL

Set up SQL Server database mirroring with T-SQL to bypass GUI edition restrictions and configure synchronous or asynchronous mirroring with a repeatable, scripted process.

Read article →
15 May 2018 · 6 min read

How to List the Database Name and File Locations

Learn how to quickly list every SQL Server database name and its physical file locations using sp_msforeachdb and sys.sysfiles, essential knowledge for any DBA.

Read article →
15 May 2018 · 6 min read

SQL Server DMV Query to Output Index Fragmentation by Database / Table

Learn how to query SQL Server index fragmentation using DMV views and identify which indexes need rebuilding or reorganising to restore query performance.

Read article →
15 May 2018 · 6 min read

How to Remove Replication Monitor Red Crosses

Red crosses in Replication Monitor usually mean orphaned metadata left behind after an incomplete replication removal. Here are the methods to clear them.

Read article →
15 May 2018 · 6 min read

How to Set up an SQL Server Alias Name

A SQL Server alias maps a friendly name to your server instance, saving hours of reconfiguration when servers change. Set one up in under five minutes.

Read article →
15 May 2018 · 6 min read

How to Dynamically Backup and Compress User Databases (SQL 2008)

Stop updating maintenance plans every time a database is added or dropped. This stored procedure dynamically discovers and backs up all user databases with compression enabled.

Read article →
15 May 2018 · 6 min read

A Visual Explanation of SQL Joins

SQL joins are a leading cause of incorrect query results in production systems. Learn how each join type works and when to use it correctly in SQL Server.

Read article →
15 May 2018 · 6 min read

Add these 5 Must-Have DMV Queries to your DBA Toolbelt!

Five field-tested DMV queries that give you immediate visibility into SQL Server performance, from procedure execution frequency to wait statistics and plan cache health.

Read article →
15 May 2018 · 6 min read

Format drives with correct allocation and offset for maximum SQL Server performance

Incorrect disk formatting silently degrades SQL Server IO performance every day. Learn the correct allocation unit size and partition offset settings to fix it.

Read article →
15 May 2018 · 6 min read

How to Resolve Database Restore Operation-Related Errors

Learn how to recover a SQL Server database stuck in the restoring state using RESTORE WITH RECOVERY and alternative recovery paths when log files are missing or corrupt.

Read article →
← Previous Page 4 of 7 Next →

SQL Server insights, monthly.

Performance tips, security advisories, and industry analysis. No fluff, no spam.