Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 0ee46d5

Browse files
authored
Merge pull request #14256 from XiaoyuMSFT/mv
mv note
2 parents 261aa02 + 40fd1bc commit 0ee46d5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/t-sql/statements/create-materialized-view-as-select-transact-sql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ When MIN/MAX aggregates are used in the SELECT list of materialized view definit
9898
GROUP BY i.i_item_sk, i.i_item_id, i.i_category_id
9999
```
100100

101-
- The materialized view will be disabled when an UPDATE or DELETE occurs in the referenced base tables.  This restriction doesn't apply to INSERTs.  To re-enable the materialized view, run ALTER MATERIALIZED INDEX with REBUILD.
101+
- The materialized view will be disabled when an UPDATE or DELETE occurs in the referenced base tables.  This restriction doesn't apply to INSERTs.  To re-enable the materialized view, run ALTER MATERIALIZED VIEW with REBUILD.
102102

103103
## Remarks
104104

@@ -119,9 +119,9 @@ ALTER TABLE SWITCH is not supported on tables that are referenced in materialize
119119
|Scenario|New columns to add to materialized view|Comment|
120120
|-----------------|---------------|-----------------|
121121
|COUNT_BIG() is missing in the SELECT list of a materialized view definition| COUNT_BIG (*) |Automatically added by materialized view creation. No user action is required.|
122-
|SUM(a) is specified by users in the SELECT list of a materialized view definition AND ‘a’ is a nullable expression |COUNT_BIG (a) |Users need to add the expression ‘a’ manually in the materialized view definition.|
123-
|AVG(a) is specified by users in the SELECT list of a materialized view definition where ‘a’ is an expression.|SUM(a), COUNT_BIG(a)|Automatically added by materialized view creation. No user action is required.|
124-
|STDEV(a) is specified by users in the SELECT list of a materialized view definition where ‘a’ is an expression.|SUM(a), COUNT_BIG(a), SUM(square(a))|Automatically added by materialized view creation. No user action is required. |
122+
|SUM(a) is specified by users in the SELECT list of a materialized view definition AND 'a' is a nullable expression |COUNT_BIG (a) |Users need to add the expression 'a' manually in the materialized view definition.|
123+
|AVG(a) is specified by users in the SELECT list of a materialized view definition where 'a' is an expression.|SUM(a), COUNT_BIG(a)|Automatically added by materialized view creation. No user action is required.|
124+
|STDEV(a) is specified by users in the SELECT list of a materialized view definition where 'a' is an expression.|SUM(a), COUNT_BIG(a), SUM(square(a))|Automatically added by materialized view creation. No user action is required. |
125125
| | | |
126126

127127
Once created, materialized views are visible within SQL Server Management Studio under the views folder of the Azure SQL Data Warehouse instance.

0 commit comments

Comments
 (0)