Skip to content

Commit 1120bc5

Browse files
authored
Merge pull request #33897 from MicrosoftDocs/main
4/22/2025 PM Publish
2 parents 08d3166 + ea5bcdc commit 1120bc5

9 files changed

+152
-114
lines changed

docs/connect/ado-net/sqlclient-driver-support-lifecycle.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: SqlClient driver support lifecycle
33
description: Product support lifecycle information for the Microsoft.Data.SqlClient .NET library.
44
author: cheenamalhotra
55
ms.author: cmalhotra
6-
ms.date: 01/24/2025
6+
ms.date: 04/22/2025
77
ms.service: sql
88
ms.subservice: connectivity
99
ms.topic: conceptual
@@ -30,7 +30,6 @@ New stable (GA) releases are published every six months on a regular cadence beg
3030
| 6.0 | January 9, 2025 | 6.0.1 | January 23, 2025 | Current | - |
3131
| 5.2 | February 28, 2024 | 5.2.2 | August 27, 2024 | Current | August 28, 2025 |
3232
| 5.1 | January 19, 2023 | 5.1.6 | August 27, 2024 | LTS | January 20, 2026 |
33-
| 3.1 | March 30, 2022 | 3.1.7 | August 20, 2024 | LTS | March 30, 2025 |
3433

3534
### Out of support releases
3635

@@ -39,6 +38,7 @@ New stable (GA) releases are published every six months on a regular cadence beg
3938
| 5.0 | July 29, 2022 | 5.0.2 | March 31, 2023 | Current | July 19, 2023 |
4039
| 4.1 | January 31, 2022 | 4.1.1 | September 13, 2022 | Current | January 29, 2023 |
4140
| 4.0 | November 18, 2021 | 4.0.6 | August 21, 2024 | LTS | November 19, 2024 |
41+
| 3.1 | March 30, 2022 | 3.1.7 | August 20, 2024 | LTS | March 30, 2025 |
4242
| 3.0 | June 9, 2021 | 3.0.1 | September 24, 2021 | Current | May 18, 2022 |
4343
| 2.1 | November 19, 2020 | 2.1.7 | January 9, 2024 | LTS | November 20, 2023 |
4444
| 2.0 | June 16, 2020 | 2.0.1 | August 25, 2020 | Current | May 19, 2021 |
+25-22
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,44 @@
11
---
2-
title: What is standalone Machine Learning Server or R Server?
2+
title: What Is Standalone Machine Learning Server or R Server?
33
description: Learn the differences between standalone R Server and Machine Learning Server in SQL Server Setup.
44
author: VanMSFT
55
ms.author: vanto
66
ms.date: 08/01/2023
77
ms.service: sql
88
ms.subservice: machine-learning-services
99
ms.topic: how-to
10-
ms.custom: intro-overview
10+
ms.custom:
11+
- intro-overview
1112
monikerRange: ">=sql-server-2016"
1213
---
14+
1315
# What are standalone Machine Learning Server or R Server in SQL Server?
16+
1417
[!INCLUDE [SQL Server 2016 and later](../../includes/applies-to-version/sqlserver2016.md)]
1518

1619
[!INCLUDE [ML Server retirement banner](~/includes/machine-learning-server-retirement.md)]
1720

18-
SQL Server provides installation support for a standalone R Server or Machine Learning Server that runs independently of SQL Server. Depending on your SQL Server version, a standalone server has a foundation of open-source R and possibly Python, overlaid with high-performance libraries from Microsoft that add statistical and predictive analytics at scale. Libraries also enable machine learning tasks scripted in R or Python.
21+
SQL Server provides installation support for a standalone R Server or Machine Learning Server that runs independently of SQL Server. Depending on your SQL Server version, a standalone server has a foundation of open-source R and possibly Python, overlaid with high-performance libraries from Microsoft that add statistical and predictive analytics at scale. Libraries also enable machine learning tasks scripted in R or Python.
1922

20-
In SQL Server 2016, this feature is called **R Server (Standalone)** and is R-only. In SQL Server 2017, it's called **Machine Learning Server (Standalone)** and includes both R and Python.
23+
In SQL Server 2016, this feature is called **R Server (Standalone)** and is R-only. In SQL Server 2017, it's called **Machine Learning Server (Standalone)** and includes both R and Python.
2124

22-
> [!Note]
25+
> [!NOTE]
2326
> As installed by SQL Server Setup, a standalone server is functionally equivalent to the non-SQL-branded versions of [Microsoft Machine Learning Server](/machine-learning-server/what-is-machine-learning-server), supporting the same user scenarios, including remote execution, operationalization and web services, and the complete collection of R and Python libraries.
2427
2528
## Components
2629

2730
SQL Server 2016 is R only. SQL Server 2017 supports R and Python. The following table describes the features in each version.
2831

2932
| Component | Description |
30-
|-----------|-------------|
31-
| R packages | [**RevoScaleR**](ref-r-revoscaler.md) is the primary library for scalable R with functions for data manipulation, transformation, visualization, and analysis. <br/>[**MicrosoftML**](ref-r-microsoftml.md) adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis. <br/>[**sqlRUtils**](ref-r-sqlrutils.md) provides helper functions for putting R scripts into a T-SQL stored procedure, registering a stored procedure with a database, and running the stored procedure from an R development environment.<br/>[**olapR**](ref-r-olapr.md) is for specifying MDX queries in R.|
33+
| --- | --- |
34+
| R packages | [**RevoScaleR**](ref-r-revoscaler.md) is the primary library for scalable R with functions for data manipulation, transformation, visualization, and analysis.<br />[**MicrosoftML**](ref-r-microsoftml.md) adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis.<br />[**sqlRUtils**](ref-r-sqlrutils.md) provides helper functions for putting R scripts into a T-SQL stored procedure, registering a stored procedure with a database, and running the stored procedure from an R development environment.<br />[**olapR**](ref-r-olapr.md) is for specifying MDX queries in R. |
3235
| Microsoft R Open (MRO) | Microsoft R Open ([retired](https://techcommunity.microsoft.com/t5/azure-sql-blog/microsoft-r-application-network-retirement/ba-p/3707161)) was Microsoft's open-source distribution of R. |
3336
| R tools | R console windows and command prompts are standard tools in an R distribution. Find them at \Program files\Microsoft SQL Server\140\R_SERVER\bin\x64. |
34-
| R Samples and scripts | Open-source R and RevoScaleR packages include built-in data sets so that you can create and run script using pre-installed data. Look for them at \Program files\Microsoft SQL Server\140\R_SERVER\library\datasets and \library\RevoScaleR. |
35-
| Python packages | [**revoscalepy**](../python/ref-py-revoscalepy.md) is the primary library for scalable Python with functions for data manipulation, transformation, visualization, and analysis. <br/>[**microsoftml**](../python/ref-py-microsoftml.md) adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis. |
37+
| R Samples and scripts | Open-source R and RevoScaleR packages include built-in data sets so that you can create and run script using pre-installed data. Look for them at \Program files\Microsoft SQL Server\140\R_SERVER\library\datasets and \library\RevoScaleR. |
38+
| Python packages | [**revoscalepy**](../python/ref-py-revoscalepy.md) is the primary library for scalable Python with functions for data manipulation, transformation, visualization, and analysis.<br />[**microsoftml**](../python/ref-py-microsoftml.md) adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis. |
3639
| Python tools | The built-in Python command-line tool is useful for ad hoc testing and tasks. Find the tool at \Program files\Microsoft SQL Server\140\PYTHON_SERVER\python.exe. |
3740
| Anaconda | Anaconda is an open-source distribution of Python and essential packages. |
38-
| Python samples and scripts | As with R, Python includes built-in data sets and scripts. Find the revoscalepy data at \Program files\Microsoft SQL Server\140\PYTHON_SERVER\lib\site-packages\revoscalepy\data\sample-data. |
41+
| Python samples and scripts | As with R, Python includes built-in data sets and scripts. Find the revoscalepy data at \Program files\Microsoft SQL Server\140\PYTHON_SERVER\lib\site-packages\revoscalepy\data\sample-data. |
3942
| Pre-trained models in R and Python | Pre-trained models are created for specific use cases and maintained by the data science engineering team at Microsoft. You can use the pre-trained models as-is to score positive-negative sentiment in text, or detect features in images, using new data inputs that you provide. Pre-trained models are supported and usable on a standalone server, but you cannot install them through SQL Server Setup. For more information, see [Install pretrained machine learning models on SQL Server](../install/sql-pretrained-models-install.md). |
4043

4144
## Using a standalone server
@@ -54,38 +57,38 @@ Start with setup, attach the binaries to your favorite development tool, and wri
5457

5558
Install either one of these versions:
5659

57-
+ [SQL Server 2017 Machine Learning Server (standalone)](../install/sql-machine-learning-standalone-windows-install.md)
58-
+ [SQL Server 2016 R Server (Standalone) - R only](../install/sql-machine-learning-standalone-windows-install.md?view=sql-server-2016&preserve-view=true)
60+
- [SQL Server 2017 Machine Learning Server (standalone)](../install/sql-machine-learning-standalone-windows-install.md)
61+
- [SQL Server 2016 R Server (Standalone) - R only](../install/sql-machine-learning-standalone-windows-install.md?view=sql-server-2016&preserve-view=true)
5962

6063
### Step 2: Configure a development tool
6164

6265
On a standalone server, it's common to work locally using a development installed on the same computer.
6366

64-
+ [Set up R tools](set-up-data-science-client.md)
65-
+ [Set up Python tools](../python/setup-python-client-tools-sql.md)
67+
- [Set up R tools](set-up-data-science-client.md)
68+
- [Set up Python tools](../python/setup-python-client-tools-sql.md)
6669

6770
### Step 3: Write your first script
6871

6972
Write R or Python script using functions from RevoScaleR, revoscalepy, and the machine learning algorithms.
70-
71-
+ [Explore R and RevoScaleR in 25 Functions](/machine-learning-server/r/tutorial-r-to-revoscaler): Start with basic R commands and then progress to the RevoScaleR distributable analytical functions that provide high performance and scaling to R solutions. Includes parallelizable versions of many of the most popular R modeling packages, such as k-means clustering, decision trees, and decision forests, and tools for data manipulation.
7273

73-
+ [Quickstart: An example of binary classification with the microsoftml Python package](/machine-learning-server/python/quickstart-binary-classification-with-microsoftml): Create a binary classification model using the functions from microsoftml and the well-known breast cancer dataset.
74+
- [Explore R and RevoScaleR in 25 Functions](/machine-learning-server/r/tutorial-r-to-revoscaler): Start with basic R commands and then progress to the RevoScaleR distributable analytical functions that provide high performance and scaling to R solutions. Includes parallelizable versions of many of the most popular R modeling packages, such as k-means clustering, decision trees, and decision forests, and tools for data manipulation.
75+
76+
- [Quickstart: An example of binary classification with the microsoftml Python package](/machine-learning-server/python/quickstart-binary-classification-with-microsoftml): Create a binary classification model using the functions from microsoftml and the well-known breast cancer dataset.
7477

75-
Choose the best language for the task. R is best for statistical computations that are difficult to implement using SQL. For set-based operations over data, leverage the power of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to achieve maximum performance. Use the in-memory database engine for very fast computations over columns.
78+
Choose the best language for the task. R is best for statistical computations that are difficult to implement using SQL. For set-based operations over data, use the power of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] to achieve maximum performance. Use the in-memory database engine for very fast computations over columns.
7679

7780
### Step 4: Operationalize your solution
7881

7982
Standalone servers can use the [operationalization](/machine-learning-server/what-is-operationalization) functionality of the non-SQL-branded [Microsoft Machine Learning Server](/machine-learning-server/what-is-machine-learning-server). You can configure a standalone server for operationalization, which gives you these benefits: deploy and host your code as web services, run diagnostics, test web service capacity.
8083

8184
### Step 5: Maintain your server
8285

83-
SQL Server releases cumulative updates on a regular basis. Applying the cumulative updates adds security and functional enhancements to an existing installation.
86+
SQL Server releases cumulative updates on a regular basis. Applying the cumulative updates adds security and functional enhancements to an existing installation.
8487

85-
Descriptions of new or changed functionality can be found in the [CAB Downloads](../install/sql-ml-cab-downloads.md) article and on the web pages for [SQL Server 2016 cumulative updates](https://support.microsoft.com/help/3177312/sql-server-2016-build-versions) and [SQL Server 2017 cumulative updates](https://support.microsoft.com/help/4047329).
88+
Descriptions of new or changed functionality can be found in the [CAB Downloads](../install/sql-ml-cab-downloads.md) article and on the web pages for [SQL Server 2016 cumulative updates](https://support.microsoft.com/help/3177312/sql-server-2016-build-versions) and [SQL Server 2017 cumulative updates](/troubleshoot/sql/releases/sqlserver-2017/build-versions).
8689

8790
For more information on how to apply updates to an existing instance, see [Apply updates](../install/sql-machine-learning-standalone-windows-install.md#apply-cu) in the installation instructions.
8891

89-
## See also
92+
## Related content
9093

91-
[Install R Server (Standalone) or Machine Learning Server (Standalone)](../install/sql-machine-learning-standalone-windows-install.md)
94+
- [Install R Server (Standalone) or Machine Learning Server (Standalone)](../install/sql-machine-learning-standalone-windows-install.md)

docs/relational-databases/databases/view-or-change-the-compatibility-level-of-a-database.md

+14-11
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: "View or change the compatibility level of a database"
2+
title: "View or Change the Compatibility Level of a Database"
33
description: Learn how to view or change the compatibility level of a database in SQL Server or Azure SQL by using SQL Server Management Studio or Transact-SQL.
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: randolphwest
7-
ms.date: 07/25/2024
7+
ms.date: 04/22/2025
88
ms.service: sql
99
ms.subservice: supportability
1010
ms.topic: how-to
@@ -30,7 +30,9 @@ Before you change the compatibility level of a database, you should understand t
3030

3131
Requires `ALTER` permission on the database.
3232

33-
## <a id="SSMSProcedure"></a> Use SQL Server Management Studio
33+
<a id="SSMSProcedure"></a>
34+
35+
## Use SQL Server Management Studio
3436

3537
To view or change the compatibility level of a database using [SQL Server Management Studio (SSMS)](../../ssms/sql-server-management-studio-ssms.md)
3638

@@ -53,9 +55,11 @@ To view or change the compatibility level of a database using [SQL Server Manage
5355

5456
To change the compatibility level, select a different option from the list. The available options for different [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] versions are listed in the [ALTER DATABASE Compatibility Level (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md#supported-dbcompats) page.
5557

56-
## <a id="TsqlProcedure"></a> Use Transact-SQL
58+
<a id="TsqlProcedure"></a>
59+
60+
## Use Transact-SQL
5761

58-
You can use Transact-SQL to view or change the compatibility level of a database using SSMS or [Azure Data Studio](/azure-data-studio/what-is-azure-data-studio).
62+
You can use Transact-SQL to view or change the compatibility level of a database using SSMS.
5963

6064
### View the compatibility level of a database
6165

@@ -66,10 +70,9 @@ You can use Transact-SQL to view or change the compatibility level of a database
6670
1. Copy and paste the following example into the query window and select **Execute**. This example returns the compatibility level of the [!INCLUDE [sssampledbobject-md](../../includes/sssampledbobject-md.md)] [sample database](../../samples/adventureworks-install-configure.md).
6771

6872
```sql
69-
USE AdventureWorks2022;
70-
GO
7173
SELECT compatibility_level
72-
FROM sys.databases WHERE name = 'AdventureWorks2022';
74+
FROM sys.databases
75+
WHERE [name] = 'AdventureWorks2022';
7376
GO
7477
```
7578

@@ -87,9 +90,9 @@ You can use Transact-SQL to view or change the compatibility level of a database
8790
GO
8891
```
8992

90-
> [!NOTE]
91-
> The compatibility level of a [Fabric SQL database](/fabric/database/sql/overview) cannot be changed, and always uses the latest version.
93+
> [!NOTE]
94+
> The compatibility level of a [SQL database in Microsoft Fabric (Preview)](/fabric/database/sql/overview) cannot be changed, and always uses the latest version.
9295
9396
## Related content
9497

95-
- [ALTER DATABASE (Transact-SQL) Compatibility Level](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md)
98+
- [ALTER DATABASE (Transact-SQL) compatibility level](../../t-sql/statements/alter-database-transact-sql-compatibility-level.md)

docs/relational-databases/system-functions/sys-fn-get-audit-file-transact-sql.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The following table describes the audit file content that can be returned by thi
8585

8686
| Column name | Type | Description |
8787
| --- | --- | --- |
88-
| `event_time` | **datetime2** | Date and time when the auditable action is fired. Not nullable. |
88+
| `event_time` | **datetime2** | UTC date and time when the auditable action is fired. Not nullable. |
8989
| `sequence_number` | **int** | Tracks the sequence of records within a single audit record that was too large to fit in the write buffer for audits. Not nullable. |
9090
| `action_id` | **varchar(4)** | ID of the action. Not nullable. |
9191
| `succeeded` | **bit** | Indicates whether the action that triggered the event succeeded. Not nullable. For all events other than login events, this only reports whether the permission check succeeded or failed, not the operation.<br /><br />`1` = success<br />`0` = fail |

docs/relational-databases/track-changes/about-change-data-capture-sql-server.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ The capture process responsible for populating the change table accommodates a f
105105
The capture process is also used to maintain history on the DDL changes to tracked tables. The DDL statements that are associated with change data capture make entries to the database transaction log whenever a change data capture-enabled database or table is dropped or columns of a change data capture-enabled table are added, modified, or dropped. These log entries are processed by the capture process, which then posts the associated DDL events to the cdc.ddl_history table. You can obtain information about DDL events that affect tracked tables by using the stored procedure [sys.sp_cdc_get_ddl_history](../system-stored-procedures/sys-sp-cdc-get-ddl-history-transact-sql.md).
106106

107107
> [!WARNING]
108-
> - **MaxCmdsInTran** was not designed to always be turned on. It exists to work around cases where someone accidentally performed a large number of DML operations in a single transaction (causing a delay in the distribution of commands until the entire transaction is in the distribution database, locks being held, etc.). If you routinely fall into this situation, review your application logic to find ways to reduce the transaction size.
109-
> - **MaxCmdsInTran** is not supported if the given publication database has both CDC and replication enabled. Using **MaxCmdsInTran** in this configuration may lead to data loss in CDC change tables. It may also cause PK errors if the **MaxCmdsInTran** parameter is added and removed while replicating a large Transaction.
108+
> - [**MaxCmdsInTran**](../replication/agents/replication-log-reader-agent.md#-maxcmdsintran-number_of_commands) was not designed to always be turned on. It exists to work around cases where someone accidentally performed a large number of DML operations in a single transaction (causing a delay in the distribution of commands until the entire transaction is in the distribution database, locks being held, etc.). If you routinely fall into this situation, review your application logic to find ways to reduce the transaction size.
109+
> - [**MaxCmdsInTran**](../replication/agents/replication-log-reader-agent.md#-maxcmdsintran-number_of_commands) is not supported if the given publication database has both CDC and replication enabled. Using **MaxCmdsInTran** in this configuration may lead to data loss in CDC change tables. It may also cause PK errors if the **MaxCmdsInTran** parameter is added and removed while replicating a large Transaction.
110110
111111

112112
## Agent jobs

0 commit comments

Comments
 (0)