TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

sys.computed_columns (Transact-SQL)

 

THIS TOPIC APPLIES TO: yesSQL Server (starting with 2008)yesAzure SQL DatabaseyesAzure SQL Data Warehouse yesParallel Data Warehouse

Contains a row for each column found in sys.columns that is a computed-column.

Column nameData typeDescription
<Inherited columns>The sys.computed_columns view returns all columns in the sys.columns view. It also returns the additional columns described below. For a description of the columns that the sys.computed_columns view inherits from sys.columns, see sys.columns (Transact-SQL). The value of the is_computed column is always set to 1 in the sys.computer_columns view.
definitionnvarchar(max)SQL text that defines this computed-column.
uses_database_collationbit1 = The column definition depends on the default collation of the database for correct evaluation; otherwise, 0. Such a dependency prevents changing the database default collation.
is_persistedbitComputed column is persisted.

The visibility of the metadata in catalog views is limited to securables that a user either owns or on which the user has been granted some permission. For more information, see Metadata Visibility Configuration.

Object Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)

Community Additions

ADD
Show:
© 2016 Microsoft