Can persisted column reference another persisted column and are there any rules to this such as do they calculate the persisted fields sequentially or at least calculate the ones that are referenced by other columns first?
Can persisted column reference another persisted column and are there any rules to this
Share
No, computed columns can’t reference other computed columns. just repeat the expression that you want to reference.
There is no left to right order of evaluation here. e.g.
Works fine even though the computed column
BreferencesAwhich appears after it.