We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd19542 commit 03995d7Copy full SHA for 03995d7
articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-index.md
@@ -126,7 +126,7 @@ SELECT
126
, MAX(CASE WHEN rg.[State] = 3 THEN rg.[total_rows] ELSE NULL END) AS [COMPRESSED_rowgroup_rows_MAX]
127
, AVG(CASE WHEN rg.[State] = 3 THEN rg.[total_rows] ELSE NULL END) AS [COMPRESSED_rowgroup_rows_AVG]
128
, 'ALTER INDEX ALL ON ' + s.name + '.' + t.NAME + ' REBUILD;' AS [Rebuild_Index_SQL]
129
-FROM sys.[sys.dm_pdw_nodes_db_column_store_row_group_physical_stats] rg
+FROM sys.[dm_pdw_nodes_db_column_store_row_group_physical_stats] rg
130
JOIN sys.[pdw_nodes_tables] nt ON rg.[object_id] = nt.[object_id]
131
AND rg.[pdw_node_id] = nt.[pdw_node_id]
132
AND rg.[distribution_id] = nt.[distribution_id]
0 commit comments