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 dress with a spare button sewn in its hem, hanging beside an entire identical spare dress never worn.

Do You Need an Availability Group? Matching RPO and RTO to a Feature

January 24, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, DBA, Log Shipping, SQL Backup and Restore, SQL High Availability

Match RPO and RTO to backups, log shipping, failover clusters, or availability groups, then test the full service recovery path.

Read More
A wooden ladder leaning against a whitewashed wall with one rung missing near the top.

SQL SERVER – Script level upgrade for database ‘master’ failed – There is already an object named ‘DatabaseMailUserRole’ in the database

January 23, 2017
Pinal Dave
SQL Tips and Tricks
Database Mail, SQL Error Messages, SQL Scripts, SQL Server, Starting SQL

After patching, script level Upgrade for master failed: there is already an object named ‘DatabaseMailUserRole’. Here is what caused it and how to fix it.

Read More
Incense censer retaining earlier ash beside an older fragment and a fresh coil

Currency Rates by Effective Date: Designing the Lookup Table

January 21, 2017
Pinal Dave
SQL Tips and Tricks
SQL System Table, SQL Table Operation, Table Partitioning, Temp Table

Why did last quarter’s invoices change overnight? Probably because the rate table had no dates. Here is a lookup that remembers.

Read More
Three intact oboe reeds with one subtly different tip opening

Spotting Definition Drift With HASHBYTES on Module Code

January 20, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Did someone change a production procedure and forget to tell you? Hash the module text, compare it with a baseline, and let SQL Server point at the culprit.

Read More
SQL SERVER - Understanding JSON Use is Case-Sensitive

SQL SERVER – Understanding JSON Use is Case-Sensitive

January 19, 2017
Pinal Dave
SQL Tips and Tricks
JSON, SQL Scripts, SQL Server, SQL String

My daughter explores every new toy, and that is how I play with JSON in SQL Server 2016. One surprise: JSON paths are case-sensitive, as this example shows.

Read More
SQL AlwaysOn AG replication status.

SQL SERVER – AlwaysOn AG (Availability Group) and TDE Error – Please Create a Master Key

January 18, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Encryption

A TDE enabled database would not synchronize in an AlwaysOn availability group, and ERRORLOG said please create a master key. Here is what I found.

Read More
Gouache painting of an open wooden pencil box with short pencils fitting neatly inside and one long vermilion pencil lying across the top, too long for the lid

Error 2628: Finding the Value That Would Be Truncated

January 17, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Error Messages, SQL Server

A nightly import fails and nobody knows which column is too small. Error 2628 tells you. Here is how to read it and catch every oversized value up front.

Read More
Previous 1 … 166 167 168 169 170 171 172 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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