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
open SSMS

SQL SERVER – Open SSMS from Command Prompt

June 15, 2020
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Command, SQL Server Management Studio

Recently one of my clients asked me if I know any way to open SSMS via Command Prompt. Of course, it is possible to do that in Windows.

Read More
installation error

SQL SERVER 2019 – Installation Failure – Invalid Command Line Argument. Consult the Windows Installer SDK for Detailed Command Line Help

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

Invalid command-line argument. Consult the Windows Installer SDK for detailed command-line help. Let us see the error about Installation Failure.

Read More
Red warning bell with orange rays.

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
SQL layout error.

SQL SERVER – How to Install SSMS From Command Line? Error: The Specified Value for Setting ‘MEDIALAYOUT’ is Invalid.

May 30, 2017
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Error Messages, SQL Server, SQL Server Installation, SQL Server Management Studio

How to install SSMS from command line? A client’s silent install failed: the specified value for setting MEDIALAYOUT is invalid. Here is the fix.

Read More
PowerShell - Querying SQL Server From Command Line

PowerShell – Querying SQL Server From Command Line

May 24, 2016
Pinal Dave
SQL Tips and Tricks
Command Line, PowerShell, SQL Scripts, SQL Server

A client’s deployment scripts got me curious about PowerShell. Here is how to start querying SQL Server from the command line with a PowerShell script.

Read More
SQL SERVER - How to Connect Using NT AUTHORITY \ SYSTEM Account?

SQL SERVER – How to Connect Using NT AUTHORITY \ SYSTEM Account?

February 8, 2016
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Server, SQL Server Security

SSMS will not let you type in Windows credentials. Here is how to connect using NT AUTHORITY\SYSTEM account with PsExec from Sysinternals.

Read More
1 2 Next
  • Books
  • Testimonials
  • Privacy Policy

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