DBA Scrolls - SQL Stories from the Trenches

Welcome to my blog about SQL Server database administration! As a SQL DBA, I've worked with databases for many years and have learned a lot about best practices, common pitfalls, and new features. On this blog, I'll be sharing my insights, tips, and tricks related to SQL Server administration, performance tuning, data analysis, and more. Whether you're a beginner or an experienced SQL DBA, you'll find valuable information and practical solutions to real-world challenges. Join me on this journey

View Database Mail Configuration in SQL Server with T-SQL

By Lince Sebastian May 05, 2024 #TSQL
View Database Mail Configuration in SQL Server with T-SQL

While the SQL Server Management Studio (SSMS) offers a graphical interface for configuring Database Mail, T-SQL provides detailed insights into the configuration through various system stored procedures and views. Here&…

Read Tutorial

The file "D:\..StackOverflow2010.mdf" is compressed but does not reside in a read-only database or filegroup. The file must be decompressed.

By Lince Sebastian April 06, 2024 #backup #permissions
The file "D:\..StackOverflow2010.mdf" is compressed but does not reside in a read-only database or filegroup. The file must be decompressed.

While attempting to attach a database on one of my test servers, I encountered an error. Recognizing the potential value in sharing solutions to common database issues, I've decided to document the steps to troubles…

Read Tutorial

Identifying and Troubleshooting Long-Running SQL Queries in SQL Server

By Lince Sebastian November 12, 2023 #performance #qureystore #TSQL
Identifying and Troubleshooting Long-Running SQL Queries in SQL Server

Slow running queries can drag down application performance and degrade user experience. As a DBA, it's important to monitor and optimize long running SQL statements. In this post, I'll demonstrate how to find que…

Read Tutorial

Find a specific query in the Query Store?

By Lince Sebastian October 29, 2023 #performance #qureystore #TSQL
Find a specific query in the Query Store?

The SQL Server Query Store is an incredibly useful feature for monitoring and troubleshooting query performance issues. One of the handiest aspects of the Query Store is the ability to easily retrieve execution plans an…

Read Tutorial

How to retrieve the Query Store ID of a Session ID in SQL Server?

By Lince Sebastian October 29, 2023 #performance #qureystore #TSQL
How to retrieve the Query Store ID of a Session ID in SQL Server?

The Query Store is a feature in SQL Server that collects and stores information about queries that are executed. This information can be used to troubleshoot performance problems, identify queries that are causing probl…

Read Tutorial

UDL files: The unsung heroes of SQL connectivity testing

By Lince Sebastian October 19, 2023 #non labeled #Security
UDL files: The unsung heroes of SQL connectivity testing

UDL file for SQL connectivity check A UDL (Universal Data Link) file is a text file that stores connection information for a data source. UDL files can be used to test connectivity to a variety of data sources, includin…

Read Tutorial
← Newer Posts Older Posts →

Tags / Labels

  • backup (2)
  • Blocking (1)
  • disk (1)
  • encryption (3)
  • HA&DR (1)
  • non labeled (2)
  • performance (11)
  • permissions (4)
  • Powershell (3)
  • qureystore (5)
  • Security (4)
  • SQL users (3)
  • TSQL (11)

Popular Tutorials

  • How can I check the failover history of the nodes in Always On availability groups ?
  • Powerful Connections: How to Connect to SQL Server Using PowerShell
  • How to Find Users and their AD groups in SQL Server - SQL Server DBA

SQL Server Access Audit: A Comprehensive Script - Azure SQL Compatible

byLince Sebastian•October 21, 2024

Search This Blog

  • October 2024(1)
  • July 2024(1)
  • June 2024(2)
  • May 2024(1)
  • April 2024(1)
  • November 2023(1)
  • October 2023(3)
  • September 2023(2)
  • August 2023(1)
  • July 2023(4)
  • June 2023(1)
  • May 2023(1)
  • April 2023(6)
  • March 2023(2)
  • February 2023(1)
  • January 2023(1)

Main Tags

  • backup
  • Blocking
  • disk
  • encryption
  • HA&DR
  • non labeled
  • performance
  • permissions
  • Powershell
  • qureystore
  • Security
  • SQL users
  • TSQL

© DBA Scrolls - SQL Stories from the Trenches - SQL Stories from the Trenches. Built with modern Blogger layout.