This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL Server Installation Center.

SQL SERVER – Script level upgrade for database master failed – Error: 4860, Severity: 16, State: 1 – Cannot bulk load. SqlTraceCollect.dtsx does not exist

January 28, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, System Database

SQL Server would not start after patching: script level upgrade for database master failed with error 4860, SqlTraceCollect.dtsx does not exist. The fix.

Read More
Title card: Error 9003: Log Scan Number in master Not Valid

SQL SERVER – The Log Scan Number Passed to Log Scan in Database ‘master’ is not Valid

January 13, 2017
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Error Messages, SQL Server, Starting SQL, System Database

Let us learn in this blog how to fix The Log Scan Number Passed to Log Scan in Database ‘master’ is not Valid. Let us learn in this blog post.

Read More
Matching bicycle bells with one lever deliberately adjusted

Database Scoped Configurations Changed From Their Defaults

December 6, 2016
Pinal Dave
SQL Tips and Tricks
Shrinking Database, Spatial Database, SQL Sample Database, System Database

One column in sys.database_scoped_configurations finds every setting that differs from its default. I show how to use it, and where it goes blind.

Read More
Gouache painting of an overflowing mailbox on a country lane with a red wheelbarrow waiting to carry away the old parcels

How to Remove Database Mail History and Stop msdb Growing

November 25, 2016
Pinal Dave
SQL Tips and Tricks
Database Mail, SQL Scripts, SQL Server, System Database

Database Mail history stays in msdb until you delete it, so the sysmail tables can grow for years. This post measures the tables, then removes the history with the two supported procedures instead of direct deletes. It also covers a month by month loop for a big backlog and a schedule.

Read More
SQL SERVER - Script level upgrade for database 'master' failed because upgrade step 'sqlagent100_msdb_upgrade.sql'

SQL SERVER – Script level upgrade for database ‘master’ failed because upgrade step ‘sqlagent100_msdb_upgrade.sql’

January 30, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Upgrade, System Database

After a patch, my SQL Server would not start because upgrade step ‘sqlagent100_msdb_upgrade.sql’ failed with error 537. Here is how I fixed it.

Read More
A red-based receipt spike with a few recent slips, a thick bundle of old yellowed slips tied up beside it

Keeping msdb Small With sp_delete_backuphistory

May 21, 2014
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Server Agent, System Database

Use sp_delete_backuphistory to control msdb growth, choose a retention window, and schedule weekly SQL Server Agent cleanup.

Read More
An unbuckled spare girth lies beside a saddle awaiting a replacement strap

Recovering a Deleted Agent Job From an msdb Backup

December 21, 2013
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server Agent, System Database

Someone deleted the wrong Agent job. Here is how to get it back from an msdb backup without touching the live msdb.

Read More
Previous 1 2 3 4 5 6 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com