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
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
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
Two halves of a snap fastener join as one connection despite being presented from opposite sides

Unique Pairs in Either Order: Blocking A-B When B-A Exists

August 20, 2012
Pinal Dave
SQL Tips and Tricks
Computed Column, Duplicate Records, SQL Constraint and Keys, SQL Index

A plain unique index treats (1, 2) and (2, 1) as different rows. Two computed columns and one index fix that, and I test the awkward cases.

Read More
A ski boot remains attached to a ski by a closed heel binding beside the open toe release

Computed Column UDFs: Why Every Query on the Table Goes Serial

March 22, 2012
Pinal Dave
SQL Performance
Computed Column, Execution Plan, Parallel, SQL Function

A computed column that calls a scalar function can block parallel plans for queries that never read it. Here is how to spot it and test a fix.

Read More
An open hand holding two nearly identical red ladybirds, one with a single extra small dot.

Accent-Insensitive Searches: Finding Jose and José Together

October 11, 2010
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Collation, SQL Index, SQL Server

Build accent-insensitive searches with explicit collations, compare case rules, and index a computed search column for consistent lookup.

Read More
SQL SERVER - Computed Column - PERSISTED and Performance

SQL SERVER – Computed Column – PERSISTED and Performance

August 3, 2010
Pinal Dave
SQL Performance
Computed Column, SQL Scripts, SQL Server

My computed column series in one list: PERSISTED versus non-persisted for storage and speed, and how an index on the column improves performance.

Read More
SQL SERVER - Computed Column - PERSISTED and Storage

SQL SERVER – Computed Column – PERSISTED and Storage

July 27, 2010
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Data Storage, SQL Scripts, SQL Server

How a computed column is created and why PERSISTED and storage go together: persisted columns take more space. Plus links to the whole series.

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

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