Skip to content

Commit f518845

Browse files
Merge branch 'docs-editor/create-view-transact-sql-1744044119' of https://github.com/chopsakie/sql-docs-pr into 20250409-schemabinding
2 parents ed22c31 + b2aae3a commit f518845

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

docs/t-sql/statements/create-view-transact-sql.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,38 @@ title: CREATE VIEW (Transact-SQL)
33
description: CREATE VIEW (Transact-SQL)
44
author: markingmyname
55
ms.author: maghan
6-
ms.date: 10/23/2024
6+
ms.date: 04/06/2025
77
ms.service: sql
88
ms.subservice: t-sql
99
ms.topic: reference
1010
ms.custom:
11-
- ignite-2024
11+
- ignite-2024
1212
f1_keywords:
13-
- "CREATE VIEW"
14-
- "VIEW_TSQL"
15-
- "VIEW"
16-
- "CREATE_VIEW_TSQL"
17-
- "SCHEMABINDING_TSQL"
13+
- "CREATE VIEW"
14+
- "VIEW_TSQL"
15+
- "VIEW"
16+
- "CREATE_VIEW_TSQL"
17+
- "SCHEMABINDING_TSQL"
1818
helpviewer_keywords:
19-
- "table creation [SQL Server], CREATE VIEW"
20-
- "views [SQL Server], creating"
21-
- "CREATE VIEW statement"
22-
- "updatable partitioned views"
23-
- "tables [SQL Server], virtual"
24-
- "updatable views"
25-
- "modifying partitioned views"
26-
- "virtual tables [SQL Server]"
27-
- "number of columns per view"
28-
- "partitioned views [SQL Server], creating"
29-
- "WITH ENCRYPTION clause"
30-
- "WITH CHECK OPTION clause"
31-
- "partitioned views [SQL Server], modifying"
32-
- "partitioned views [SQL Server], replication"
33-
- "distributed partitioned views [SQL Server]"
34-
- "views [SQL Server], indexed views"
35-
- "maximum number of columns per view"
19+
- "table creation [SQL Server], CREATE VIEW"
20+
- "views [SQL Server], creating"
21+
- "CREATE VIEW statement"
22+
- "updatable partitioned views"
23+
- "tables [SQL Server], virtual"
24+
- "updatable views"
25+
- "modifying partitioned views"
26+
- "virtual tables [SQL Server]"
27+
- "number of columns per view"
28+
- "partitioned views [SQL Server], creating"
29+
- "WITH ENCRYPTION clause"
30+
- "WITH CHECK OPTION clause"
31+
- "partitioned views [SQL Server], modifying"
32+
- "partitioned views [SQL Server], replication"
33+
- "distributed partitioned views [SQL Server]"
34+
- "views [SQL Server], indexed views"
35+
- "maximum number of columns per view"
3636
dev_langs:
37-
- "TSQL"
37+
- "TSQL"
3838
monikerRange: ">=aps-pdw-2016 || =azuresqldb-current || =azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric"
3939
---
4040

@@ -165,7 +165,7 @@ CREATE [ OR ALTER ] VIEW [ schema_name . ] view_name [ ( column_name [ ,...n ]
165165
Views or tables that participate in a view created with the SCHEMABINDING clause cannot be dropped unless that view is dropped or changed so that it no longer has schema binding. Otherwise, the [!INCLUDE[ssDE](../../includes/ssde-md.md)] raises an error. Also, executing ALTER TABLE statements on tables that participate in views that have schema binding fail when these statements affect the view definition.
166166

167167
> [!NOTE]
168-
> In Azure Synapse Analytics, views currently do not support schema binding. For more information, see [T-SQL views with dedicated SQL pool and serverless SQL pool in Azure Synapse Analytics](/azure/synapse-analytics/sql/develop-views#limitations).
168+
In Azure Synapse Analytics, views currently do not support schema binding. Therefore, if changes are made to the underlying objects, you should drop and recreate the view to refresh the underlying metadata. For more information, see [T-SQL views with dedicated SQL pool and serverless SQL pool in Azure Synapse Analytics](/azure/synapse-analytics/sql/develop-views#limitations).
169169

170170
#### VIEW_METADATA
171171
Specifies that the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] will return to the DB-Library, ODBC, and OLE DB APIs the metadata information about the view, instead of the base table or tables, when browse-mode metadata is being requested for a query that references the view. Browse-mode metadata is additional metadata that the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] returns to these client-side APIs. This metadata enables the client-side APIs to implement updatable client-side cursors. Browse-mode metadata includes information about the base table that the columns in the result set belong to.

0 commit comments

Comments
 (0)