| title |
sys.views (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.component |
system-catalog-views |
| ms.reviewer |
|
| ms.suite |
sql |
| ms.technology |
system-objects |
| ms.tgt_pltfrm |
|
| ms.topic |
language-reference |
| f1_keywords |
views_TSQL |
views |
sys.views_TSQL |
sys.views |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
f8a8ea39-5a09-4662-801e-b43519467def |
| caps.latest.revision |
28 |
| author |
stevestein |
| ms.author |
sstein |
| manager |
craigg |
| monikerRange |
>=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current |
[!INCLUDEtsql-appliesto-ss2008-all-md]
Contains a row for each view object, with sys.objects.type = V.
| Column name |
Data type |
Description |
| <inherited columns> |
|
For a list of columns that this view inherits, see sys.objects (Transact-SQL) |
| is_replicated |
bit |
1 = View is replicated. |
| has_replication_filter |
bit |
1 = View has a replication filter. |
| has_opaque_metadata |
bit |
1 = VIEW_METADATA option specified for view. For more information, see CREATE VIEW (Transact-SQL). |
| has_unchecked_assembly_data |
bit |
1 = View contains persisted data that depends on an assembly whose definition changed during the last ALTER ASSEMBLY. Resets to 0 after the next successful DBCC CHECKDB or DBCC CHECKTABLE. |
| with_check_option |
bit |
1 = WITH CHECK OPTION was specified in the view definition. |
| is_date_correlation_view |
bit |
1 = View was created automatically by the system to store correlation information between datetime columns. Creation of this view was enabled by setting DATE_CORRELATION_OPTIMIZATION to ON. |
[!INCLUDEssCatViewPerm] For more information, see Metadata Visibility Configuration.
Object Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)
ALTER ASSEMBLY (Transact-SQL)
DBCC CHECKDB (Transact-SQL)
DBCC CHECKTABLE (Transact-SQL)
Querying the SQL Server System Catalog FAQ