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
JSON vs XML

SQL SERVER Performance – JSON vs XML

August 26, 2025
Pinal Dave
SQL Performance
JSON, SQL XML

What started as a simple recommendation turned into a comprehensive benchmarking exercise. Let us see blog post about JSON vs XML.

Read More
Two hands unpacking a mixed harvest box into separate wicker baskets of carrots, leeks, apples and radishes.

Shredding JSON Into Relational Tables in One Pass

September 28, 2021
Pinal Dave
SQL Tips and Tricks
JSON, Output Clause, SQL Server, SQL Transactions

Use shredding JSON to stage parent and child rows, validate their data, capture identity mappings, and load relational tables atomically.

Read More
Hands arranging a bento box with rice and a row of small matching dishes inside, its lid beside it

Shaping Query Results as JSON With FOR JSON PATH

June 13, 2020
Pinal Dave
SQL Tips and Tricks
JSON, SQL Scripts, SQL Server

Shape FOR JSON PATH output with nested objects, child arrays, null options, and wrappers, then return one complete JSON value to clients.

Read More
queryJSON

Azure Data Studio- Export Any SQL SERVER Query As JSON

June 12, 2020
Pinal Dave
SQL Tips and Tricks
Azure Data Studio, JSON, SQL Server Management Studio

Recently, one of my clients’ Comprehensive Database Performance Health Check asked me if I know a way to export any query as JSON with SSMS.

Read More
A market stall of identical brown paper bags, a hand opening them one by one to find what is inside.

Entity-Attribute-Value Tables: Why They Hurt Queries

May 8, 2020
Pinal Dave
SQL Tips and Tricks
JSON, Normalization, Schema, SPARSE Columns, SQL Server

Understand entity-attribute-value query costs, lost types, indexing limits, and alternatives using real columns, sparse columns, or JSON.

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
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
1 2 3 4 Next
  • Books
  • Testimonials
  • Privacy Policy

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