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

How can I check the failover history of the nodes in Always On availability groups ?

By Lince Sebastian July 25, 2023 #HA&DR #TSQL
How can I check the failover history of the nodes in Always On availability groups ?

SQL Server Availability Groups (AG) provide high availability and disaster recovery solutions for critical databases. Understanding the history of failovers in an AG is crucial for tracking changes in primary and second…

Read Tutorial

Streamline TSQL Result Delivery: Automate Emailing of TSQL Results in HTML Format using PowerShell - Any-TSQL Results to HTML EMail

By Lince Sebastian July 22, 2023 #Powershell #TSQL
Streamline TSQL Result Delivery: Automate Emailing of TSQL Results in HTML Format using PowerShell - Any-TSQL Results to HTML EMail

In this blog post, we will explore a useful PowerShell script that allows you to execute TSQL queries and send the results via email. The script is versatile and can work with any type of TSQL query. It also provides op…

Read Tutorial

How to find tempdb file size in SQL server and Azure SQL Managed Instance (configured / initial / Current)

By Lince Sebastian July 20, 2023 #performance #TSQL
How to find tempdb file size in SQL server and Azure SQL Managed Instance (configured / initial / Current)

In SQL Server, TempDB is a system database used to store temporary objects such as temporary tables, table variables, and other internal objects created during query processing. It is essential for managing sorting, gro…

Read Tutorial

Converting UTC to BST: A T-SQL Guide to forgot about Daylight Saving Time

By Lince Sebastian July 09, 2023 #TSQL
Converting UTC to BST: A T-SQL Guide to forgot about Daylight Saving Time

We'll explore how to convert UTC (Coordinated Universal Time) to BST (British Summer Time) using T-SQL. Daylight Saving Time (DST) adjustments are crucial for handling time changes in regions that observe it. We'…

Read Tutorial

Automating UK Bank Holiday Data Population in SQL Server Database using PowerShell

By Lince Sebastian June 04, 2023 #Powershell
Automating UK Bank Holiday Data Population in SQL Server Database using PowerShell

In today's blog post, we'll explore how to automate the population of UK holiday data into a SQL Server database using PowerShell. We'll walk through the code and discuss how it retrieves holiday information…

Read Tutorial

SQL Server - Securing Your Backup: A Step-by-Step Guide to Database Backup Encryption in SQL Server

By Lince Sebastian May 05, 2023 #backup #encryption
SQL Server - Securing Your Backup: A Step-by-Step Guide to Database Backup Encryption in SQL Server

Securing sensitive data is crucial for protecting the integrity and confidentiality of your SQL Server databases. One important aspect of data security is encrypting database backups to prevent unauthorized access to ba…

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.