title: "sys.computed_columns (Transact-SQL) | Microsoft Docs" ms.custom: "" ms.date: "03/15/2017" ms.prod: "sql" ms.prod_service: "database-engine, sql-database, sql-data-warehouse, pdw" ms.service: "" ms.component: "system-catalog-views" ms.reviewer: "" ms.suite: "sql" ms.technology:
- "database-engine" ms.tgt_pltfrm: "" ms.topic: "language-reference" f1_keywords:
- "sys.computed_columns_TSQL"
- "sys.computed_columns"
- "computed_columns_TSQL"
- "computed_columns" dev_langs:
- "TSQL" helpviewer_keywords:
- "sys.computed_columns catalog view" ms.assetid: c962c619-e18f-4315-9251-8d9862462299 caps.latest.revision: 48 author: "edmacauley" ms.author: "edmaca" manager: "craigg" ms.workload: "Inactive" monikerRange: ">= aps-pdw-2016 || = azuresqldb-current || = azure-sqldw-latest || >= sql-server-2016 || = sqlallproducts-allversions"
[!INCLUDEtsql-appliesto-ss2008-all-md]
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. |
[!INCLUDEssCatViewPerm] For more information, see Metadata Visibility Configuration.
Object Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)