Skip to content
Twitter Email LinkedIn
Menu

GarryBargsley.com

GarryBargsley.com

Primary Menu

  • Home
  • About
Search

Category: SQL

Failing SQL Agent Jobs – Part 2

Posted onSeptember 10, 2020September 9, 2020Leave a comment

Welcome to Part 2 in the series about SQL Server Agent Job Failures. In this part you are going to learn how to build an HTML report with Failed Agent Job information and send the report via e-mail to the interested team(s). Let’s get started putting the pieces together to build our report. First step: Read More …

CategoriesBlogging, dbatools, PowerShell, SQL

T-SQL Tuesday Logo

T-SQL Tuesday #130 – Automate Permissions Audits

Posted onSeptember 8, 2020September 2, 20203 Comments

This month’s T-SQL Tuesday is being hosted by Elizabeth Noble. The subject chosen “what have you automated to make your life easier?” For me the topic is near and dear to my heart. I was honored to host T-SQL Tuesday #110 and had a similar topic. It was awesome to see peoples automation stories. That Read More …

CategoriesBlogging, PowerShell, SQL, Tsql Tuesday

Failing SQL Agent Jobs – Part 1

Posted onSeptember 1, 2020August 31, 2020Leave a comment

SQL Server Agent Jobs are one of the core features of SQL Server. Agent Jobs perform many actions, from maintenance tasks (server and database), data movement flows, replication, log shipping, data cleanup, health checks and many more. Since Agent Jobs are a critical component in a data organization, it is important to know when Agent Read More …

CategoriesBlogging, dbatools, PowerShell, SQL

Who is your Fail-Safe Agent??

Posted onAugust 25, 2020August 26, 2020Leave a comment

Did you know it is possible for SQL Server Agent to  alert you of problems if something goes haywire with your Agent? Have you ever had an issue with Alerts not being sent after critical events? Then you might need to configure the SQL Server Agent Fail-Safe Operator to save the day. A Fail-Safe WHAT Read More …

CategoriesBlogging, dbatools, PowerShell, SQL

Cleanup Pesky SQL Error Logs

Posted onAugust 18, 2020August 18, 2020Leave a comment

If you are like me, you inherited variously configured SQL Servers when you took over as the DBA for your company. After almost two years, I have gotten all the standards in place where I feel that the environment is clean. One of the last things I accomplished was to standardize SQL Server Error Log Read More …

CategoriesBlogging, dbatools, PowerShell, SQL

Why a 60GB Database Backup Grew to 1TB in Size

Posted onAugust 11, 2020August 10, 2020Leave a comment

Recently, I was alerted to a network file share that was running low on disk space. This interesting as there was only one process that used this particular location to store SQL Backups. We have a nightly job that runs full copy only backups of a couple critical databases that are scrubbed and restored to Read More …

CategoriesBlogging, SQL, Troubleshooting

What Agent Jobs are Running??

Posted onAugust 4, 2020August 4, 2020Leave a comment

Do you run SQL Agent Jobs in your environment?  Do you know what is running at any given time?  Most people do not know what is currently running if you ask them. There are several times I need to know what job(s) is running on which server. For instance, let’s say on the morning of Read More …

CategoriesBlogging, dbatools, PowerShell, SQL

OLDEST_PAGE Log Reuse Wait type

Posted onSeptember 24, 2019September 20, 20191 Comment

Do you frequently use the “log_reuse_wait_type_desc” column in the sys.databases  view? Have you ever seen the type of OLDEST_PAGE? You are not the only one!! Recently I was troubleshooting an issue with a database where the log was growing and the virtual logs would not clear after executing a transaction log backup. So I took Read More …

CategoriesBlogging, SQL, Troubleshooting

TDE Disabled – Oh! Not Really

Posted onApril 17, 2018April 16, 2018Leave a comment

Issue Recently, I was forwarded a request from our Product Support team to prepare the database for a third party application to be sent to the vendor for troubleshooting.  This particular database has TDE enabled, so I figured that is easy, let me knock that out. So I proceeded to restore the database to one Read More …

CategoriesBlogging, SQL

You Want that Same Excel File Imported How Often?

Posted onFebruary 10, 2018Leave a comment

For this week I am going to go through a process that I developed and am pretty proud of. We the DBA Team are responsible for getting data in to our Integration environments and higher.  We do not trust the developers with this responsibility as they would probably break something. Issue Recently one of our Read More …

CategoriesPowerShell, SQL

Post navigation

← Older posts
Newer posts →

Recent Posts

  • 100 Blog Posts Milestone
  • T-SQL Tuesday #157- “End of Year Activity” – RECAP
  • T-SQL Tuesday #157 – Closing out 2022
  • T-SQL Tuesday #157 – “End of Year Activity”
  • SQL Temporal Tables — Gotcha!!!

Recent Comments

  • Osiris on [How-To] SSRS migration
  • Smz on 12 Days of dbatools – Twelfth Day
  • Alex on [How-To] SSRS migration
  • Tom Appel on “Done in 7 minutes” -SQL Server 2019 Install
  • Tom Appel on “Done in 7 minutes” -SQL Server 2019 Install

Latest Tweets

My Tweets

Archives

  • July 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • January 2022
  • December 2021
  • November 2021
  • July 2021
  • May 2021
  • March 2021
  • February 2021
  • January 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • December 2019
  • November 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • February 2019
  • January 2019
  • December 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • September 2017
  • August 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017

Categories

  • #100DaysOfCode
  • Azure
  • BBQ
  • Blogging
  • dbachecks
  • dbatools
  • First Responder Kit
  • MSSQLTips
  • PASS
  • PowerShell
  • SQL
  • SQL Saturday
  • SSRS
  • Troubleshooting
  • Tsql Tuesday
Copyright © 2025 GarryBargsley.com. All Rights Reserved. | Clean Journal by Catch Themes
Scroll Up
  • Home
  • About
Share On Facebook
Share On Twitter
Share On Linkedin
Share via E-Mail
 

Loading Comments...