Gouache painting of a dish of paint being mixed beside a jar of pre-mixed paint with a vermilion lid

Compute Scalar Operators: Why a Computed Column Shows Two

A plan that reads a computed column shows two Compute Scalar operators, and the second one looks like a mistake. This post compares three tables in the plan text: an expression in the query, a computed column and a persisted computed column. It shows what each of the Compute Scalar operators defines and whether the extra operator costs anything.

Read More