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
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
A padlocked iron gate across a loading bay lit by one amber wall lamp

SQL SERVER – Fix – Error 15240, Severity: 16, State: 2 – Cannot write into file

January 16, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

Error 15240 stopped SQL Server starting after a patch. Tested on SQL Server 2025: three causes behind one message, and what my old fix missed.

Read More
Drag and Drop Capability.

SQL SERVER – SSMS Tip – Using Drag and Drop Capability

January 14, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio

A lesser known SSMS trick: drag and drop from Object Explorer into the query window to get table and column names typed for you. Handy for documentation.

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

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