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
Gouache painting of an old sewing machine on a wooden table with a single vermilion thread running through the wrong guide

Msg 17113: Error Opening master.mdf at Startup

February 21, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Configuration, Starting SQL, System Database

Msg 17113 stops SQL Server at startup with an error opening master.mdf. I caused it myself by changing a startup parameter, and the file was still in place. The ERRORLOG showed the clue: the parameter name was wrong, and the fix was in Configuration Manager.

Read More
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
Gouache painting of a wooden window frame with one cracked pane and a spare pane edged in vermilion leaning against the sill

Error 9003: Log Scan Number in master Is Not Valid

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

Error 9003 on the master database means SQL Server cannot recover master and will not start. The master files were corrupt. We rebuilt the system databases, started the instance in single user mode and restored master from a backup.

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
Gouache painting of a large antique master key lying across a ring that holds a dozen smaller identical keys, with one vermilion tag tied to the ring.

Master Database in SQL Server: What It Holds and How to Protect It

April 11, 2016
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Backup and Restore, SQL Login, SQL Server Architecture, System Database

The master database is the one database a SQL Server instance cannot start without. It stores logins, linked servers, server settings and the list of databases. The tests here show what master holds, what it does not, how to back it up with CHECKSUM, how to check the backup, and what a master restore involves.

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
Previous 1 2 3 4 5 6 7 Next
  • Books
  • Testimonials
  • Privacy Policy

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