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
Gouache painting of an open glossary bridging relational tables and document folders

SQL Terms vs MongoDB Terms: A Practical Glossary

April 18, 2020
Pinal Dave
SQL Tips and Tricks
JSON, MongoDB, NoSQL, SQL Server

SQL terms vs MongoDB terms trip up teams that use both products. This glossary maps tables, collections, rows, documents and fields, shows tested SQL Server queries beside the mongosh equivalents, and marks where the vocabulary stops matching.

Read More
Hands sorting a tipped-out lost property box into heaps of umbrellas, gloves and scarves on a table

Schema Discovery for JSON Columns: Listing Every Key With OPENJSON

April 4, 2020
Pinal Dave
SQL Tips and Tricks
JSON, SQL Function, SQL Scripts, SQL Server

Use schema discovery on JSON columns to count keys and types, inspect nested objects, and find missing required paths with guarded input.

Read More
A turf edger changing one grass border while the rest of the patch remains intact

JSON_MODIFY: Changing One Property Inside a JSON Column

July 25, 2018
Pinal Dave
SQL Tips and Tricks
Computed Column, JSON, SQL Column

Edit one value inside a JSON document without string surgery. A hands-on tour of the quirks with types, NULL, missing paths and retries.

Read More
A frog on a stone at the edge of a pond with tadpoles in the water below, a red dragonfly above

JSON Column Index in SQL Server: Index One Property

April 5, 2018
Pinal Dave
SQL Tips and Tricks
DBA, JSON, NoSQL, SQL Index

A JSON column index is one of the first tools a DBA needs when documents arrive in SQL Server. This test stores 100,000 recipes as JSON, searches one property with no index, then indexes it through a computed column. It also shows the cast that quietly breaks the match and how missing keys behave.

Read More
SQL error in reporting tool.

SQL SERVER – Understanding JSON NULL Value Using STRICT Keyword

January 30, 2017
Pinal Dave
SQL Tips and Tricks
JSON, SQL Error Messages, SQL Scripts, SQL Server

Why does a JSON path that doesn’t match return NULL? Add the STRICT keyword to get an error instead. A follow-up on JSON NULL values in SQL Server 2016.

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
A concertina file of folded papers on a desk with one sheet folded the wrong way so the file cannot close.

SQL SERVER – Fix Error Msg 13603 working with JSON documents

January 3, 2017
Pinal Dave
SQL Tips and Tricks
JSON, SQL Error Messages, SQL Scripts, SQL Server

Msg 13603 appeared when I used a custom path with FOR JSON PATH, because the column alias had an invalid character. Here is how to fix it.

Read More
Previous 1 2 3 4 5 … 7 Next
  • Books
  • Testimonials
  • Privacy Policy

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