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
Different selectable gear arrangements sit within one unchanged outer housing.

SQL SERVER – How to Change Database Compatibility Level?

May 22, 2017
Pinal Dave
SQL Tips and Tricks
SQL Performance, SQL Scripts, SQL Server, SQL Server Configuration, SQL Upgrade

Compatibility Level controls selected query behavior within a database. I baseline the workload before changing it.

Read More
SQL Server Setup failure dialog.

SQL SERVER – Edition Upgrade – Invoke or BeginInvoke Cannot be Called on a Control Until the Window Handle has Been Created

May 10, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Upgrade

An old client met me at the airport with an edition upgrade error: Invoke or BeginInvoke cannot be called on a control. Here is the workaround.

Read More
Gouache painting of a garden bench with one forgotten vermilion umbrella hooked over its backrest

Msg 15559: Script Level Upgrade for master Failed

March 19, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Upgrade, Starting SQL

Msg 15559 says SQL Server cannot drop the ##MS_AgentSigningCertificate## certificate because a user is mapped to it. The upgrade script then fails with error 912 and the service will not start. Start the instance with trace flag 902, drop the mapped user and the upgrade can finish.

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
Gouache painting of a closed wooden toolbox on a shelf beside a clay flowerpot, its brass clasp tied shut with a single vermilion tag

Error 598: SQL Server Fails to Start After Patching

December 16, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Service Pack, SQL Upgrade, Starting SQL

Error 598 can stop SQL Server from starting right after a patch. In this case the script level upgrade failed because the service account could not create a temporary database file. Giving that account permission on the instance folder let the restart succeed.

Read More
A bookbinder's bench with an old book's pages beside a new red cloth cover.

Converting Deprecated TEXT, NTEXT and IMAGE Columns Safely

August 10, 2013
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Deprecated Feature, SQL Server, SQL Upgrade

Inventory deprecated TEXT, NTEXT and IMAGE columns, convert to MAX types, move small values in row, and measure logging and space costs.

Read More
A hot air balloon lying flat on a field at dawn as a person opens the burner and a red flame starts

Compatibility Level 170: What SQL Server 2025 Turns On

July 26, 2013
Pinal Dave
SQL Tips and Tricks
Compatibility Level, Query Store, SQL Server, SQL Upgrade

Move to compatibility level 170 on SQL Server 2025 with feature checks, Query Store baselines, plan comparisons, and a rollback plan.

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

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