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
Running SQL Server Docker Container.

Docker – Running SQL Server Image Without Running Pull Command

May 18, 2019
Pinal Dave
SQL Tips and Tricks
Docker, PowerShell, SQL Command, SQL Server

Running SQL Server 2019 CTPs in Docker taught me something new: you can run a SQL Server image without the pull command first. Here is how that works.

Read More
Upgrade Error Dialog.

SQL SERVER – Upgrade Error – Upgrading Subscription Settings and System Objects in Database [DBName].

May 29, 2018
Pinal Dave
SQL Tips and Tricks
SQL Command, SQL Error Messages, SQL Log, SQL Replication, SQL Scripts, SQL Server, SQL System Table

A patch failed at “Upgrading subscription settings and system objects in database” with invalid object MSreplication_subscriptions. Here is the fix.

Read More
Error dialog of query execution.

SQL SERVER – Puzzle – Strange Behavior With Extra Comma in Create Table Statement

January 30, 2018
Pinal Dave
SQL Puzzle
SQL Command, SQL Scripts, SQL Server, SQL Table Operation

My favorite icebreaker puzzle: a strange behavior with an extra comma in CREATE TABLE statement. Why does SQL Server accept it for temp and regular tables?

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
Title card: EXECUTE Permission Denied on 'xp_cmdshell'

SQL SERVER – Fix: The EXECUTE Permission was Denied on the Object ‘xp_cmdshell’, Database ‘mssqlsystemresource’,schema ‘sys’.

May 13, 2017
Pinal Dave
SQL Tips and Tricks
SQL Command, SQL Scripts, SQL Server, SQL Server Security

A retail team let non-sysadmin users run xp_cmdshell and got Msg 229: the EXECUTE permission was denied on the object. Here is the fix.

Read More
Msg 15281 Error from SQL Server.

SQL SERVER – FIX: Msg 15281- SQL Server Blocked Access to Procedure ‘sys.xp_cmdshell’ of Component ‘xp_cmdshell’

February 16, 2017
Pinal Dave
SQL Tips and Tricks
SQL Command, SQL Error Messages, SQL Scripts, SQL Server

Msg 15281: SQL Server blocked access to procedure ‘sys.xp_cmdshell’ because it is turned off. Here is how to turn xp_cmdshell on with sp_configure.

Read More
Interview Question of the Week #009 - Is GO T-SQL Statement?

Interview Question of the Week #009 – Is GO T-SQL Statement?

March 1, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Command, SQL Scripts, SQL Server

I often get this question in the email – more frequently than I would like to get.
Question: “Is GO T-SQL statement?”

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

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