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.
Operating System Error 1326 in SQL Server: Cannot Open Backup Device
Operating system error 1326 means authentication failed while SQL Server tried to open its backup destination. In this 2017 case SQL Server ran on a workgroup computer and the share sat on a domain server. The tests here compare error 1326 with the path errors 3 and 67 and show how to read the service identity.
Old SQL Backup Files in Azure Storage: PowerShell Inventory Before You Remove Anything
Old SQL backup files pile up in Azure Storage after a SQL Agent job runs for a while. An age cutoff finds candidates, but it cannot tell you what a restore still needs. This post gives a read-only PowerShell inventory and an msdb query that shows the backup chain.
SQL SERVER – FIX: Msg 15281- SQL Server Blocked Access to Procedure ‘sys.xp_cmdshell’ of Component ‘xp_cmdshell’
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.
Linked Server Error Msg 7356: Provider Metadata That Changed
Diagnose Msg 7356 by comparing linked-server column metadata, stabilizing pass-through projections, and reviewing provider configuration.
SQL SERVER – FIX – Error 1402. Could not open key: UNKNOWN\Components. System error 5
Installing a SQL Server service pack failed with Error 1402. Could not open key: UNKNOWN\Components. System error 5. Here is the fix.
SQL SERVER – FIX: Error 19456: None of the IP Addresses Configured for the Availability Group Listener can be Hosted by the Server
Deploying a hybrid AlwaysOn availability group across on-premises and Azure, adding a replica failed with error 19456. Here is what fixed it.
SQL Server slow? Let's fix it together in about four hours.
In my Comprehensive Database Performance Health Check, you share your screen, I guide you, and we fix your biggest performance troublemakers. No passwords. No remote access.
You keep every script, and the know-how to fix it yourself next time.
Want your whole team to learn it?
My Practical Workshop has no PowerPoint, just live demos. My AI Enablement Workshop shows your team where AI saves hours, and where it quietly costs them.
Over 400 customers have worked with me this way, and not one shared a password. See all consulting options.
Who We Are
Pinal Dave is an SQL Server Performance Tuning Expert and independent consultant with over 24 years of hands-on experience. He holds a Masters of Science degree and numerous database certifications.
Pinal has authored 19 books and 125 Pluralsight courses. To freely share his knowledge and help others build their expertise, Pinal has also written more than 5,800 database tech articles on his blog at https://blog.sqlauthority.com.
Pinal is also a CrossFit Level 1 Trainer (CF-L1) and CrossFit Level 2 Trainer (CF-L2).
Nupur Dave is a social media enthusiast and an independent consultant. She primarily focuses on the database domain, helping clients build short and long-term multi-channel campaigns to drive leads for their sales pipeline.
Shaivi Pinalkumar Dave is a book author and a women’s artistic gymnast.

