sql server 2008 - when the computed column will update? -


I have calculated the columns in the table named "claim" and the definition of the column is calling a scalar function.

I have created 10000 claims, when I select those 10,000 claims that will update the calculated column, when 10000 rows are inserted automatically, then the calculated column is executed. Will be

Please update me

thanks

it depends If the calculation column is marked as persisted or indexed

if none of these conditions is true then nothing is stored and it is not stored Runtime is calculated, otherwise it is automatically updated when the underlying data changes.

Comments