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
SQL SERVER - Fix: Error 946, Severity: 14 - Cannot open database 'DB' version 782. Upgrade the database to the latest version

SQL SERVER – Fix: Error 946, Severity: 14 – Cannot open database ‘DB’ version 782. Upgrade the database to the latest version

February 20, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, Starting SQL

Upgrading an AlwaysOn replica from SQL 2014 to 2016, databases got stuck and the ERRORLOG showed error 946, cannot open database version 782. Why and the fix.

Read More
One red ceramic tile sits first while the remaining tiles follow in a tidy order

How to Keep Certain Records on Top While Ordering Data? – Interview Question of the Week #110

February 19, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Order By, SQL Scripts, SQL Server

An interview question: how do you keep one city on top while ordering data by name for the rest? The answer is a small trick in the ORDER BY clause.

Read More
Title card: Operating System Error 1326 on Backup Device

SQL SERVER – Cannot open backup device. Operating system error 1326 (Logon failure: unknown user name or bad password.)

February 18, 2017
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts, SQL Server

Backup to a domain share from a Workgroup SQL Server failed with operating system error 1326, unknown user name or bad password. Here is the fix.

Read More
Database backup process.

SQL SERVER – Powershell Script – Remove Old SQL Database Backup Files from Azure Storage

February 17, 2017
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Azure, SQL Backup and Restore, SQL DateTime, SQL Scripts, SQL Server

My backups to Azure kept piling up. Here is the PowerShell script I wrote to remove old SQL database backup files from Azure Storage automatically.

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 rack holds separate sealed backup parcels, with a new one added at the end

How to Add Date to Database Backup Filename? – Interview Question of the Week #109

February 12, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server

A reader using Backup to URL asked how to add the date to a Database Backup Filename. Here is a script that builds the name for you.

Read More
SQL Server sp_spaceused window.

SQL SERVER – Puzzle – Why does sp_spaceused Show No Values?

February 8, 2017
Pinal Dave
SQL Puzzle
SPARSE Columns, SQL Scripts, SQL Server

Why does sp_spaceused show no values for a table that clearly has rows? It stumped me for 10 minutes. Here is the puzzle, try it before reading on.

Read More
Previous 1 … 134 135 136 137 138 139 140 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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