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
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
Gouache painting of a plain canvas work coat hanging on a wooden wall peg, a vermilion scarf tied at its collar, the next peg bare

Msg 15153: xp_cmdshell Proxy Account Cannot Be Retrieved

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

Msg 15153 is the second error a non-sysadmin user hits when running xp_cmdshell. A retail team with about 1,500 databases saw it right after Msg 229. A proxy account plus an EXECUTE grant fixed it.

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
A music-box mechanism with separate cylinders for repeated passages

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

Explain GO T-SQL confusion with batch boundaries, GO repetition, variable scope, semicolon errors, and a procedure creation example.

Read More
The query SELECT @@system_time_zone; with its result, a single row with the column @@system_time_zone and the value India Standard Time

Time Zone Name in MySQL: How to Detect the Current One

February 16, 2014
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Command, SQL DateTime

Need the current time zone of the MySQL server you are connected to? One simple query with @@system_time_zone returns the time zone name.

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

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