Skip to content

Latest commit

 

History

History
48 lines (42 loc) · 2.83 KB

File metadata and controls

48 lines (42 loc) · 2.83 KB
title sys.all_views (Transact-SQL)
description sys.all_views (Transact-SQL)
author rwestMSFT
ms.author randolphwest
ms.date 03/06/2017
ms.prod sql
ms.prod_service database-engine, sql-database, synapse-analytics, pdw
ms.technology system-objects
ms.topic reference
f1_keywords
sys.all_views_TSQL
sys.all_views
all_views
all_views_TSQL
helpviewer_keywords
sys.all_views catalog view
dev_langs
TSQL
ms.assetid d8829213-fce2-41c6-9ab2-aaab5836c941
monikerRange >=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current

sys.all_views (Transact-SQL)

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

Shows the UNION of all user-defined and system views.

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 = Table 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.

Permissions

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

See Also

Object Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)
DBCC CHECKDB (Transact-SQL)
ALTER ASSEMBLY (Transact-SQL)
DBCC CHECKTABLE (Transact-SQL)