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 - Getting Started and Creating JSON Using SQL Server 2016 - JavaScript Object Notation

SQL SERVER – Getting Started and Creating JSON Using SQL Server 2016 – JavaScript Object Notation

June 29, 2015
Pinal Dave
SQL Tips and Tricks
JSON, SQL Scripts, SQL Server

SQL Server 2016 adds JSON support. Here is a quick look at what JSON (JavaScript Object Notation) is and how to create your first JSON document with a query.

Read More
An open bento box with neat compartments, one holding a row of small rice balls, a red plum on the rice.

JSON_OBJECT and JSON_ARRAY: Building JSON in SQL Server 2022

March 30, 2014
Pinal Dave
SQL Tips and Tricks
JSON, SQL Function, SQL NULL, SQL Server, SQL Server 2022

Build JSON_OBJECT and JSON_ARRAY values in SQL Server 2022, control null handling, nest arrays, and compare rowset and aggregate output.

Read More
A split pomegranate on a garden table, a hand lifting out one chamber full of red seeds

Querying Nested JSON Arrays With OPENJSON

February 19, 2014
Pinal Dave
SQL Tips and Tricks
JSON, SQL Function, SQL Scripts, SQL Server

Query nested JSON arrays with OPENJSON, preserve element positions, pass inner arrays with AS JSON, and handle missing or strict paths.

Read More
Rows of closed paint tins, each lid dabbed with its color, a hand reaching for the tin with the red dab

Indexing JSON Properties With Computed Columns

February 18, 2014
Pinal Dave
SQL Performance
Computed Column, JSON, SQL Index, SQL Server

Improve indexing JSON properties with typed computed columns, matching paths, required SET options, and plan checks on your workload.

Read More
A hand pressing the lid of a compartment lunchbox that will not close over a squashed sandwich.

The Native JSON Data Type in SQL Server 2025

February 17, 2014
Pinal Dave
SQL Tips and Tricks
JSON, SQL Datatype, SQL Server

Use the JSON data type in SQL Server 2025, reject invalid documents, read and change properties, and choose where relational columns fit.

Read More
A tray of seed potatoes in neat rows, a hand removing one spoiled potato into a red bowl

Reading a JSON Lines File Into a Table With OPENROWSET

October 22, 2013
Pinal Dave
SQL Tips and Tricks
ETL, File format, JSON, SQL Server

Load JSON Lines with OPENROWSET BULK, keep UTF-8 text intact, quarantine invalid objects, and insert validated typed rows.

Read More
An open sewing box with a tangle of scraps and threads below and a top tray of spools in neat compartments.

Storing JSON in SQL Server

September 29, 2013
Pinal Dave
SQL Tips and Tricks
JSON, SQL Datatype, SQL Index, SQL Server

Storing JSON in SQL Server can use validated nvarchar or the native 2025 json type, with indexed paths and relational columns for stable facts.

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

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