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 - Error Fix: Msg 13601 Working with JSON Structure

SQL SERVER – Error Fix: Msg 13601 Working with JSON Structure

June 29, 2016
Pinal Dave
SQL Tips and Tricks
JSON, SQL Error Messages, SQL Server

Msg 13601 showed up while I was working with JSON output: a property cannot be generated due to a conflict with another column name. Here is the fix.

Read More
Chestnut scoring knife making an opening beside scored and untouched chestnuts

OPENJSON WITH Clause: Converting JSON Properties to Typed Values

March 14, 2016
Pinal Dave
SQL Tips and Tricks
JSON, Output Clause, SQL Union clause

Without WITH, OPENJSON hands you text. With it, you pick the names and types and decide what happens when a property is missing.

Read More
SQL SERVER - 2016 - Check Value as JSON With ISJSON()

SQL SERVER – 2016 – Check Value as JSON With ISJSON()

February 26, 2016
Pinal Dave
SQL Tips and Tricks
JSON, SQL Scripts, SQL Server, SQL Server 2016

Before you store JSON sent from the front end, make sure it is valid. Here is how the ISJSON() function in SQL Server 2016 checks a value as JSON.

Read More
SQL Server OPENJSON query results.

SQL SERVER – 2016 – Opening JSON with OPENJSON()

December 4, 2015
Pinal Dave
SQL Tips and Tricks
JSON

The next step with JSON in SQL Server 2016 is reading it. OPENJSON parses JSON text and returns properties as rows. A simple example with the default schema.

Read More
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
Gouache painting of nested wooden boxes, opened one inside another, the smallest holding a single vermilion bead.

JSON_CONTAINS in SQL Server 2025: Searching Inside JSON Arrays

August 31, 2014
Pinal Dave
SQL Tips and Tricks
JSON, SQL Function, SQL Scripts

JSON_CONTAINS checks whether a JSON document holds a value at a path, including inside an array. This post tests it on SQL Server 2025: the json data type it needs, numbers versus text, case, NULL results and the older OPENJSON way.

Read More
Bracelet with attachable moon, gem, and leaf ornaments beside a fixed cuff

JSON or Real Columns: Deciding Where Attributes Live

August 23, 2014
Pinal Dave
SQL Tips and Tricks
Computed Column, JSON, Normalization

Putting everything in a JSON column is tempting. Here is what it costs in reads, type checks and null handling, and when to promote a property.

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

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