Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 2.2 KB

sys-computed-columns-transact-sql.md

File metadata and controls

42 lines (34 loc) · 2.2 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs monikerRange
sys.computed_columns (Transact-SQL)
sys.computed_columns (Transact-SQL)
rwestMSFT
randolphwest
05/25/2021
sql
system-objects
reference
sys.computed_columns_TSQL
sys.computed_columns
computed_columns_TSQL
computed_columns
sys.computed_columns catalog view
TSQL
>=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current

sys.computed_columns (Transact-SQL)

[!INCLUDE sql-asdb-asdbmi-asa-pdw]

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

Column name Data type Description
<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.computed_columns view.
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.

Permissions

[!INCLUDEssCatViewPerm] For more information, see Metadata Visibility Configuration.

See Also

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