Skip to content

Commit 59cda5a

Browse files
authored
Merge pull request #15227 from MicrosoftDocs/master
6/02 AM Publish
2 parents 93e4fd7 + 2106715 commit 59cda5a

68 files changed

Lines changed: 109 additions & 32 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/azure-data-studio/tutorial-qds-sql-server.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: markingmyname
88
ms.author: maghan
99
ms.reviewer: alayu; sstein
1010
ms.custom: seodec18; seo-lt-2019
11-
ms.date: 08/02/2019
11+
ms.date: 06/01/2020
1212
---
1313

1414
# Tutorial: Add the *five slowest queries* sample widget to the database dashboard
@@ -111,9 +111,7 @@ To add the *slow queries widget* to your dashboard, edit the *dashboard.database
111111

112112
![Insight detail dialog](./media/tutorial-qds-sql-server/insight-details-dialog.png)
113113

114-
3. Right-click the cell to the right of **query_sql_txt** in **Item Details** and click **Copy Cell**.
115-
116-
4. Close the **Insights** pane.
114+
3. Close the **Insights** pane.
117115

118116
## View the query plan
119117

docs/connect/jdbc/understanding-xa-transactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The following additional guidelines apply to tightly coupled transactions:
5454
The following steps are required if you want to use XA data sources together with Microsoft Distributed Transaction Coordinator (MS DTC) for handling distributed transactions.
5555

5656
> [!NOTE]
57-
> The JDBC distributed transaction components are included in the xa directory of the JDBC driver installation. These components include the xa_install.sql and sqljdbc_xa.dll files.
57+
> The JDBC distributed transaction components are included in the xa directory of the JDBC driver installation. These components include the xa_install.sql and sqljdbc_xa.dll files. If you have different versions of the JDBC driver on different clients, it is recommended to use the newest sqljdbc_xa.dll on the server.
5858

5959
> [!NOTE]
6060
> Starting with SQL Server 2019 public preview CTP 2.0, the JDBC XA distributed transaction components are included in the SQL Server engine, and can be enabled or disabled with a system stored procedure.

docs/database-engine/availability-groups/windows/change-the-availability-mode-of-an-availability-replica-sql-server.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,21 @@ You must be connected to the server instance that hosts the primary replica.
4545

4646
1. Connect to the server instance that hosts the primary replica.
4747

48-
2. Use the [ALTER AVAILABILITY GROUP](../../../t-sql/statements/alter-availability-group-transact-sql.md) statement, as follows:
48+
2. Use the [ALTER AVAILABILITY GROUP](../../../t-sql/statements/alter-availability-group-transact-sql.md) statement, as the following example:
4949

50+
```sql
5051
ALTER AVAILABILITY GROUP *group_name* MODIFY REPLICA ON '*server_name*'
51-
52-
WITH ( {
53-
54-
AVAILABILITY_MODE = { SYNCHRONOUS_COMMIT | ASYNCHRONOUS_COMMIT }
55-
56-
| FAILOVER_MODE = { AUTOMATIC | MANUAL }
57-
58-
} )
59-
60-
where *group_name* is the name of the availability group and *server_name* is the name of the server instance that hosts the replica to be modified.
52+
WITH ( AVAILABILITY_MODE = ASYNCHRONOUS_COMMIT , FAILOVER_MODE = MANUAL );
53+
```
54+
55+
Where *group_name* is the name of the availability group and *server_name* is the name of the server instance that hosts the replica to be modified.
6156

6257
> [!NOTE]
63-
> FAILOVER_MODE = AUTOMATIC is supported only if you also specify AVAILABILITY_MODE = SYNCHRONOUS_COMMIT.
58+
> `FAILOVER_MODE = AUTOMATIC` is supported only if you also specify `AVAILABILITY_MODE = SYNCHRONOUS_COMMIT`.
6459

6560
The following example, entered on the primary replica of the `AccountsAG` availability group, changes the availability and failover modes to synchronous commit and automatic failover, respectively, for the replica hosted by the `INSTANCE09` server instance.
6661

67-
```
68-
62+
```sql
6963
ALTER AVAILABILITY GROUP AccountsAG MODIFY REPLICA ON 'INSTANCE09'
7064
WITH (AVAILABILITY_MODE = SYNCHRONOUS_COMMIT);
7165
ALTER AVAILABILITY GROUP AccountsAG MODIFY REPLICA ON 'INSTANCE09'
@@ -81,13 +75,13 @@ You must be connected to the server instance that hosts the primary replica.
8175

8276
For example, the following command modifies the replica `MyReplica` in the availability group `MyAg` to use synchronous-commit availability mode and to support automatic failover.
8377

84-
```
78+
```powershell
8579
Set-SqlAvailabilityReplica -AvailabilityMode "SynchronousCommit" -FailoverMode "Automatic" `
8680
-Path SQLSERVER:\Sql\PrimaryServer\InstanceName\AvailabilityGroups\MyAg\AvailabilityReplicas\MyReplica
8781
```
8882

8983
> [!NOTE]
90-
> To view the syntax of a cmdlet, use the **Get-Help** cmdlet in the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] PowerShell environment. For more information, see [Get Help SQL Server PowerShell](../../../relational-databases/scripting/get-help-sql-server-powershell.md).
84+
> To view the syntax of a cmdlet, use the **Get-Help** cmdlet in the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] PowerShell environment. For more information, see [Get Help SQL Server PowerShell](../../../relational-databases/scripting/get-help-sql-server-powershell.md).
9185

9286
**To set up and use the SQL Server PowerShell provider**
9387

docs/relational-databases/collations/set-or-change-the-server-collation.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Set or Change the Server Collation | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "12/05/2019"
4+
ms.date: "05/10/2020"
55
ms.prod: sql
66
ms.technology:
77
ms.topic: conceptual
@@ -23,8 +23,11 @@ ms.reviewer: carlrab
2323

2424
## Setting the server collation in SQL Server
2525

26-
The server collation is specified during [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] installation. Default server-level collation is **SQL_Latin1_General_CP1_CI_AS**. Unicode-only collations cannot be specified as the server-level collation. For more information, see [Collation and Unicode Support](collation-and-unicode-support.md).
27-
26+
The server collation is specified during [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] installation. The default server-level collation is based upon the locale of the operating system. For example, the default collation for systems using US English (en-US) is **SQL_Latin1_General_CP1_CI_AS**. Unicode-only collations cannot be specified as the server-level collation. For more information, including the list of OS locale to default collation mappings, see the "Server-level collations" section of [Collation and Unicode Support](collation-and-unicode-support.md#Server-level-collations).
27+
28+
> [!NOTE]
29+
> The server-level collation for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Express LocalDB is **SQL_Latin1_General_CP1_CI_AS** and cannot be changed, either during or after installation.
30+
2831
## Changing the server collation in SQL Server
2932

3033
Changing the default collation for an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] can be a complex operation and involves the following steps:
@@ -50,7 +53,7 @@ ms.reviewer: carlrab
5053
- Import all your data.
5154
5255
> [!NOTE]
53-
> Instead of changing the default collation of an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], you can specify a default collation for each new database you create.
56+
> Instead of changing the default collation of an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], you can specify a default collation for each new database you create via the `COLLATE` clause of the `CREATE DATABASE` and `ALTER DATABASE` statements. For more information, see [Set or Change the Database Collation](set-or-change-the-database-collation.md).
5457
5558
## Setting the server collation in Managed Instance
5659
Server-level collation in Azure SQL Managed Instance can be specified when the instance is created and cannot be changed later. You can set server-level collation via [Azure portal](https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance-get-started#create-a-managed-instance) or [PowerShell and Resource Manager template](https://docs.microsoft.com/azure/sql-database/scripts/sql-managed-instance-create-powershell-azure-resource-manager-template) while you are creating the instance. Default server-level collation is **SQL_Latin1_General_CP1_CI_AS**. Unicode-only and new UTF-8 collations cannot be specified as server-level collation.
-1.47 KB
Loading
0 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading

docs/relational-databases/system-stored-procedures/sp-server-diagnostics-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ sp_server_diagnostics [@repeat_interval =] 'repeat_interval_in_seconds'
5353

5454
|Column|Data type|Description|
5555
|------------|---------------|-----------------|
56-
|**creation_time**|**datetime**|Indicates the time stamp of row creation. Each row in a single rowset has the same time stamp.|
56+
|**create_time**|**datetime**|Indicates the time stamp of row creation. Each row in a single rowset has the same time stamp.|
5757
|**component_type**|**sysname**|Indicates whether the row contains information for the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance level component or for an Always On availability group:<br /><br /> instance<br /><br /> Always On:AvailabilityGroup|
5858
|**component_name**|**sysname**|Indicates the name of component or the name of the availability group:<br /><br /> system<br /><br /> resource<br /><br /> query_processing<br /><br /> io_subsystem<br /><br /> events<br /><br /> *\<name of the availability group>*|
5959
|**state**|**int**|Indicates the health status of the component:<br /><br /> 0<br /><br /> 1<br /><br /> 2<br /><br /> 3|

docs/ssma/access/adding-and-removing-access-database-files-accesstosql.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Adding and Removing Access Database Files (AccessToSQL) | Microsoft Docs"
3+
description: Learn how to add or remove Access databases to or from the SSMA project to migrate Access data to SQL Server or Azure SQL Database.
34
ms.prod: sql
45
ms.custom: ""
56
ms.date: "01/19/2017"

0 commit comments

Comments
 (0)