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 - Backup to URL - Script to Generate Credential and Backup using Shared Access Signature (SAS)

SQL SERVER – Backup to URL – Script to Generate Credential and Backup using Shared Access Signature (SAS)

July 17, 2018
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Backup and Restore, SQL Scripts, SQL Server

Backup to URL can connect to Azure storage with a SAS token. I share a script that generates the credential and the backup command using a Shared Access Signature.

Read More
Gouache painting of a warning sign on an interrupted backup bridge to cloud storage

Msg 3292 in SQL Server: Failure Executing Backup or Restore With a URL Device

July 16, 2018
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Backup and Restore, SQL Error Messages, SQL Server

Msg 3292 appears when a backup or restore with a URL device fails, and it never names the cause itself. In one 2018 client case the cause was a renamed BackupToUrl.exe. This post shows how to read the companion messages, check the helper file and the credential, and trace the failure.

Read More
Different wooden shapes fit their corresponding recesses in a sorting board

How to Convert Hex Windows Error Codes to the Meaningful Error Message – 0x80040002 and 0x80040005 and others? – Interview Question of the Week #182

July 15, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Error Messages, SQL Server, SQL Server Security

Seen hex error codes like 0x80070070 in the ERRORLOG? Here are the simple steps I use to convert hex Windows error codes into meaningful error messages.

Read More
Execution plan size and type.

SQL SERVER – Execution Plan Ignores Tabs, Spaces and Comments

July 14, 2018
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Scripts, SQL Server, SQL Stored Procedure

Many teams skip comments in stored procedures, fearing bigger execution plans. My demo shows SQL Server ignores tabs, spaces and comments when it builds a plan.

Read More
Execution plan of a query with a single row and single table.

SQL SERVER – Puzzle – Why Such a Complicated Execution Plan for a Single Row, Single Table Query?

July 13, 2018
Pinal Dave
SQL Puzzle
Execution Plan, SQL Scripts, SQL Server

A simple puzzle: why does SQL Server show such a complicated execution plan for a single row, single table query on WideWorldImporters? Try to solve it.

Read More
Several rows of clay discs waiting for the single working position of an arbor press

Serial Zones in Parallel Plans: Where One Thread Does the Work

July 12, 2018
Pinal Dave
SQL Tips and Tricks
Best Practices, Parallel, SQL Server

A parallel plan can still leave one core busy. See a harmless serial zone, a costly one, and how to read per-thread rows from the plan.

Read More
Opaque cord sleeves with matching and different crimped profiles beside crimping pliers

Blind Index: Searching an Encrypted Column Without Decrypting

July 11, 2018
Pinal Dave
SQL Performance
ColumnStore Index, Computed Column, SQL Column, SQL Index

Encrypted emails cannot be searched, so store a keyed digest beside them. A hands-on demo of how it works, what it leaks and how rotation hurts.

Read More
Previous 1 … 212 213 214 215 216 217 218 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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