Skip to content

Commit 215d352

Browse files
Merge pull request #36049 from mstehrani/patch-22
Added PSR in ALTER DATABASE and sys.database [PLEASE SQUASH]
2 parents c7972cd + e2e596c commit 215d352

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

docs/relational-databases/system-catalog-views/sys-databases-transact-sql.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: "sys.databases (Transact-SQL)"
3-
description: sys.databases (Transact-SQL)
3+
description: The sys.databases system catalog view contains one row per database.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: 08/20/2025
6+
ms.reviewer: wiassaf
7+
ms.date: 12/10/2025
78
ms.service: sql
89
ms.subservice: system-objects
910
ms.topic: "reference"
@@ -123,6 +124,7 @@ If a database isn't `ONLINE`, or `AUTO_CLOSE` is set to `ON` and the database is
123124
| `is_event_stream_enabled` | **bit** | Indicates whether the current database has [Change event streaming (preview)](../track-changes/change-event-streaming/overview.md) enabled.<br /><br />**Applies to**: [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)] and later versions. |
124125
| `is_vorder_enabled` | **bit** | Indicates whether [V-Order](/fabric/data-warehouse/v-order) is enabled for each [!INCLUDE [fabric-dw](../../includes/fabric-dw.md)].<br /><br />**Applies to**: [!INCLUDE [fabric](../../includes/fabric.md)] only.|
125126
| `is_optimized_locking_on` | **bit** | Indicates whether optimized locking is enabled.<br />`1` = Optimized locking is enabled<br />`0` = Optimized locking is disabled<br /><br />**Applies to**: [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)] and [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)]. |
127+
| `is_proactive_statistics_refresh_on` | **bit** | Indicates whether [proactive statistics refresh](/fabric/data-warehouse/statistics) is enabled.<br /><br />**Applies to**: [!INCLUDE [fabric](../../includes/fabric.md)] [!INCLUDE [fabric](../../includes/fabric-dw.md)].|
126128

127129
<sup>1</sup> For a full list of compatibility levels, see [ALTER DATABASE compatibility level](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md)
128130

docs/t-sql/statements/alter-database-transact-sql-set-options.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to set database options such as Automatic tuning, encrypt
44
author: markingmyname
55
ms.author: maghan
66
ms.reviewer: randolphwest, wiassaf
7-
ms.date: 06/11/2025
7+
ms.date: 12/10/2025
88
ms.service: sql
99
ms.subservice: t-sql
1010
ms.topic: reference
@@ -4028,6 +4028,7 @@ SET
40284028
| <vorder>
40294029
| <timestamp>
40304030
| <result_set_caching>
4031+
| <proactive_statistics_refresh>
40314032
}
40324033
;
40334034
@@ -4046,11 +4047,15 @@ SET
40464047
TIMESTAMP = {CURRENT_TIMESTAMP | 'YYYY-MM-DDTHH:MM:SS.SS' }
40474048
}
40484049
4049-
40504050
<result_set_caching> ::=
40514051
{
40524052
RESULT_SET_CACHING { ON | OFF }
40534053
}
4054+
4055+
<proactive_statistics_refresh> ::=
4056+
{
4057+
PROACTIVE_STATISTICS_REFRESH = { ON | OFF }
4058+
}
40544059
```
40554060

40564061
## Arguments
@@ -4069,7 +4074,13 @@ Updates the timestamp for an existing warehouse snapshot in Fabric Data Warehous
40694074

40704075
#### RESULT_SET_CACHING
40714076

4072-
Enables or disables result set caching (preview) for the current item. For more information, see [Result set caching](/fabric/data-warehouse/result-set-caching).
4077+
Enables or disables result set caching (preview) for the target item. During preview, the default setting of this feature is `OFF`. For more information, see [Result set caching](/fabric/data-warehouse/result-set-caching).
4078+
4079+
#### PROACTIVE_STATISTICS_REFRESH
4080+
4081+
**Applies to**: [!INCLUDE [fabric](../../includes/fabric.md)] [!INCLUDE [fabric](../../includes/fabric-dw.md)].
4082+
4083+
Enables or disables proactive statistics refresh for the target item. The default is `ON`. You should use the default setting for most items. For more information, see [Statistics](/fabric/data-warehouse/statistics).
40734084

40744085
## Permissions
40754086

0 commit comments

Comments
 (0)