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 table fan on a wooden side table with its cord unplugged beside a wall socket, the plug painted vermilion

Configuration Manager WMI Error: Cannot Connect to WMI Provider

March 31, 2020
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Error Messages, SQL Server, SQL Server Configuration, WMI

A Configuration Manager WMI error blocks SQL Server Configuration Manager with the message that it cannot connect to the WMI provider. This is a second way to fix it, using mofcomp with the file for your SQL Server version. If mofcomp does not succeed, my earlier post has more steps.

Read More
A small red folding bicycle being unfolded on a train platform beside a heavy old bicycle

go-sqlcmd: The New Command Line Tool for SQL Server

October 8, 2019
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Server, SQL Utility, sqlcmd

Set up go-sqlcmd on Windows, verify the executable, run scripts and variables, control output, and review optional container commands.

Read More
Gouache painting of a half-assembled wooden birdhouse on a workbench, with one vermilion peg in its top and the unused pieces lying beside it

Setup Error 1639: Invalid Command Line Argument in SQL Server

July 30, 2019
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Installation

Setup error 1639 stopped my SQL Server 2019 install with an invalid command line argument message. The real clue was in the log: a component from an earlier incomplete install was still there. Uninstalling it with msiexec fixed the problem.

Read More
A hand fitting a new red-capped spark plug into a lawn mower, the old blackened one on a rag

SQL SERVER – Script level upgrade for database ‘master’ failed because upgrade step msdb110_upgrade.sql encountered error 926, state 1, severity 25

November 6, 2018
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Error Messages, SQL Scripts, SQL Server, SQL Upgrade

An upgrade failed: Script level upgrade for database ‘master’ failed because upgrade step msdb110_upgrade.sql encountered error 926. I explain the cause and the fix.

Read More
SQL SERVER – xp_cmdshell and Net Use ERROR: The Local Device Name is Already in Use

SQL SERVER – xp_cmdshell and Net Use ERROR: The Local Device Name is Already in Use

December 29, 2017
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Command, SQL Error Messages, SQL Scripts, SQL Server, SQL Stored Procedure

Mapping a share with net use through xp_cmdshell, I hit “The local device name is already in use”. Here is what causes this error and how to solve it.

Read More
Loose cords entering a cable comb and leaving with consistent spacing

Collapsing Repeated Spaces and Line Breaks With REGEXP_REPLACE

November 29, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, Command Line, SQL Server

Tabs, line breaks and a sneaky character 160 can all hide in a name that looks fine. Here is how to clean them on purpose.

Read More
Leather stitching pony holding a prepared seam beside completed stitches

Parse and Compile Time: Reading the First Line of STATISTICS TIME

July 13, 2017
Pinal Dave
SQL Performance
Command Line, SQL Server, SQL Statistics

Someone pastes a compile time of 24 ms and asks if the server is slow. Run it twice and watch the plan cache do its job.

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

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