sql calculated column code example
Example: add computed column to table sql server
ALTER TABLE persons
ADD full_name AS (first_name + ' ' + last_name) PERSISTED;
ALTER TABLE persons
ADD full_name AS (first_name + ' ' + last_name) PERSISTED;