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
A storm-ready cellar doorway with sandbags, lanterns on a shelf and a red first-aid box on the wall

Writing a Disaster Recovery Runbook: RPO, RTO and a Restore Test

August 31, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Backup and Restore, SQL High Availability

Build a disaster recovery runbook around agreed RPO and RTO, usable backup chains, instance dependencies, clear roles, and restore tests.

Read More
Distinct sea urchin shells with matching spines and one empty cavity

FOR JSON Data Types: How bit, Dates and Money Come Out

August 30, 2016
Pinal Dave
SQL Tips and Tricks
Data Warehousing, JSON, Master Data Services, SQL Data Storage

Your API returns 1 and the client wanted true. Here is how FOR JSON picks a JSON type for bit, dates, decimal, money, binary and NULL, and how to fix it.

Read More
SQL SERVER - GetRegKeyAccessMask : Could Not Get Registry Access Mask For Registry Key - SQL Server Cluster

SQL SERVER – GetRegKeyAccessMask : Could Not Get Registry Access Mask For Registry Key – SQL Server Cluster

August 29, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Error Messages, SQL Server Cluster

In a two-node SQL Server Cluster, SQL would not come online on one node and wrote no ERRORLOG. The cluster log showed GetRegKeyAccessMask. Here is the fix.

Read More
A red stop rests across a filled pitcher beside an empty receiving bowl.

SQL SERVER – How to Fix Error 8134 Divide by Zero Error Encountered

August 27, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

Error 8134 means an expression tried to divide by zero. I choose the intended undefined-result behavior before guarding the division.

Read More
Gouache painting of a small locomotive pulling a single red wagon with nothing behind it on an empty track

How to Attach a Database Without Log File in SQL Server

August 26, 2016
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server, SQL Server Management Studio, Transaction Log

To attach a database without log file, run CREATE DATABASE with FOR ATTACH_REBUILD_LOG, or remove the missing log in the SSMS Attach dialog. This tutorial builds a demo database, detaches it, and rebuilds the log on attach. It also explains when the rebuild is impossible and what to check afterward.

Read More
SQL Management Studio error dialog box.

SQL SERVER – Fix Error – Cannot use the backup file because it was originally formatted with sector size 4096 and is now on a device with sector size 512

August 25, 2016
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts, SQL Server

SSMS backup failed with ‘Cannot use the backup file because it was originally formatted with sector size 4096’. Here is why it happens and the easy fix.

Read More
SQL server failure dialog.

SQL SERVER – Script level upgrade for database ‘master’ failed because upgrade step ‘upgrade_ucp_cmdw.sql’

August 24, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

After a cluster failover, SQL Server would not start on Node2 because upgrade step ‘upgrade_ucp_cmdw.sql’ failed. Here is what the ERRORLOG showed.

Read More
Previous 1 … 182 183 184 185 186 187 188 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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