Technical Article

Failed Job Notification

This script notifies the DBA or Developers with the list of failed jobs. This script useful if you want to use either Mater-Target server option or even single server to monitor the Target servers jobs. You must have SQL MAIL configured on the SQL Server.

You rated this post out of 5. Change rating

2006-02-20 (first published: )

2,096 reads

Technical Article

Delete Old backup Files

The following script deletes files in the specified folder, older than specified no of days and outputs the details to the specified file location. I use this VB script to delete some old backup files those can't be deleted with the regular maintenance plans. All you need to do is to supply the backup folder […]

5 (2)

You rated this post out of 5. Change rating

2006-01-20 (first published: )

1,742 reads

Technical Article

Database File(s) Growth Notification

This stored proc notify the user(s) if the data/log file grew. When you execute it for the first time it will get the data/log files sizes and inserts in a table. Next time when you run the script if will compare the current size with the previous files size. This script must need sqlmail configured […]

You rated this post out of 5. Change rating

2003-11-07

1,482 reads

Technical Article

Errorlog Notification

This script Notifies the user(s) whenever there is an Error logged in the Error message. It excludes the Error messages 15457 and 1073759806. These 2 Errors can be ignored. (I know we like to keep our Elogs clean but for some time you need to yield to them J ). You’ll see the first error […]

5 (1)

You rated this post out of 5. Change rating

2003-10-30

1,203 reads

Blogs

Getting References for GenAI Results

By

I wrote an editorial on the view of GenAI tech from execs and someone...

SQL Server 2025 Is Here – AI Just Changed Everything!

By

🔟 Top 10 Features of SQL Server 2025 #SQLServer2025 #MicrosoftSQL #DatabaseUpdates #SQLAI #SQLFeatures #SQLServerCopilot #VectorSearch...

SQL Blunders: Stop Writing These Pointless Queries & Write Smarter!

By

They run, they return data. So what? Some SQL queries just waste your time...

Read the latest Blogs

Forums

High Availability Reversed - Force secondary unless failure

By krypto69

Hi I have sql2022 in H/A with a primary and a secondary server. My...

telephones and sql

By stan

hi im pretty sure i could trigger a page on a pager if i...

T-SQL - except - add date column

By mtz676

SELECT         [A]       --,[Date]       ,  ...

Visit the forum

Question of the Day

Calculating Month End

I want to calculate the end of the previous month as a date that I can use in running a report. What is the best way to do this in SQL Server 2022, assuming I have a date stored in @d?

See possible answers