This topic has not yet been rated - Rate this topic

sys.computed_columns (Transact-SQL)

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

Column name

Data type

Description

<Inherited columns>

 

For a list of columns that this view inherits, see sys.columns (Transact-SQL).

definition

nvarchar(max)

SQL text that defines this computed-column.

uses_database_collation

bit

1 = 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_persisted

bit

Computed column is persisted.

is_computed

bit

Computed column is computed. Always 1.

is_sparse

bit

1 = Column is a sparse column. For more information, see Use Sparse Columns.

is_column_set

bit

1 = Column is a column set. For more information, see Use Column Sets.

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ