Skip to content

Commit 933c167

Browse files
authored
Merge pull request #31007 from MicrosoftDocs/main
7/02/2024 PM Publish
2 parents 6871199 + 2f75636 commit 933c167

17 files changed

Lines changed: 35 additions & 44 deletions

docs/connect/odbc/linux-mac/connecting-with-bcp.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ This switch is used by the client when connecting to Azure SQL Database, Azure S
7575

7676
> [!IMPORTANT]
7777
> The `-G` option only applies to Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse Analytics.
78-
7978
> Microsoft Entra interactive authentication is not currently supported on Linux or macOS. Microsoft Entra integrated authentication requires [Microsoft ODBC Driver 17 for SQL Server](../download-odbc-driver-for-sql-server.md) version 17.6.1 or higher and a properly [configured Kerberos environment](using-integrated-authentication.md#configure-kerberos).
8079
8180

@@ -104,7 +103,7 @@ az account get-access-token --resource https://database.windows.net --output tsv
104103
```
105104

106105
**-q**
107-
Executes the SET QUOTED_IDENTIFIERS ON statement in the connection between the `bcp` utility and an instance of [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)].
106+
Executes the SET QUOTED_IDENTIFIER ON statement in the connection between the `bcp` utility and an instance of [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)].
108107

109108
**-r** *row_terminator*
110109
Specifies the row terminator.

docs/connect/odbc/windows/odbc-administrator-dsn-creation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Specifies the name of the primary file for an attachable database. This database
110110

111111
### Use ANSI quoted identifiers
112112

113-
Specifies that `QUOTED_IDENTIFIERS` is set to on when the ODBC driver for SQL Server connects. When this check box is selected, SQL Server enforces ANSI rules regarding quote marks. Double quotes can only be used for identifiers, such as column and table names. Character strings must be enclosed in single quotes:
113+
Specifies that `QUOTED_IDENTIFIER` is set to on when the ODBC driver for SQL Server connects. When this check box is selected, SQL Server enforces ANSI rules regarding quote marks. Double quotes can only be used for identifiers, such as column and table names. Character strings must be enclosed in single quotes:
114114

115115
```sql
116116
SELECT "LastName"

docs/database-engine/availability-groups/windows/configure-replication-for-always-on-availability-groups-sql-server.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@ EXEC sys.sp_validate_replica_hosts_as_publishers
214214
- [Join a Secondary Database to an Availability Group (SQL Server)](../../../database-engine/availability-groups/windows/join-a-secondary-database-to-an-availability-group-sql-server.md)
215215
216216
- [Create or Configure an Availability Group Listener (SQL Server)](../../../database-engine/availability-groups/windows/create-or-configure-an-availability-group-listener-sql-server.md)
217-
218-
## See Also
219-
- [Prerequisites, Restrictions, and Recommendations for Always On Availability Groups (SQL Server)](../../../database-engine/availability-groups/windows/prereqs-restrictions-recommendations-always-on-availability.md)
220-
- [Overview of Always On Availability Groups (SQL Server)](../../../database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server.md)
221-
- [Always On Availability Groups: Interoperability (SQL Server)](../../../database-engine/availability-groups/windows/always-on-availability-groups-interoperability-sql-server.md)
222-
- [SQL Server Replication](../../../relational-databases/replication/sql-server-replication.md)
223-
- If you are using non-default ports, see [Walkthrough Publisher, Distributor, Subscriber in Always On Availability Groups](https://repltalk.com/2019/03/09/walkthrough-publisher-distributor-subscriber-in-alwayson-availability-groups).
217+
218+
## Related content
219+
220+
- [Prerequisites, restrictions, and recommendations for Always On availability groups](prereqs-restrictions-recommendations-always-on-availability.md)
221+
- [What is an Always On availability group?](overview-of-always-on-availability-groups-sql-server.md)
222+
- [Always On availability groups: interoperability (SQL Server)](always-on-availability-groups-interoperability-sql-server.md)
223+
- [SQL Server Replication](../../../relational-databases/replication/sql-server-replication.md)

docs/relational-databases/native-client/applications/using-connection-string-keywords-with-sql-server-native-client.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ For information, see [Using Connection String Keywords with OLE DB Driver for SQ
7676
|**QueryLog_On**|When "yes", logging long-running query data is enabled on the connection. When "no", long-running query data is not logged.|
7777
|**QueryLogFile**|Full path and file name of a file to use to log data on long-running queries.|
7878
|**QueryLogTime**|Digit character string specifying the threshold (in milliseconds) for logging long-running queries. Any query that does not get a response in the time specified is written to the long-running query log file.|
79-
|**QuotedId**|When "yes", QUOTED_IDENTIFIERS is set ON for the connection, [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] uses the ISO rules regarding the use of quotation marks in SQL statements. When no, QUOTED_IDENTIFIERS is set OFF for the connection. [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] then follows the legacy [!INCLUDE[tsql](../../../includes/tsql-md.md)] rules regarding the use of quotation marks in SQL statements. For more information, see [Effects of ISO Options](../../../relational-databases/native-client-odbc-queries/executing-statements/effects-of-iso-options.md).|
79+
|**QuotedId**|When "yes", QUOTED_IDENTIFIER is set ON for the connection, [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] uses the ISO rules regarding the use of quotation marks in SQL statements. When no, QUOTED_IDENTIFIER is set OFF for the connection. [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] then follows the legacy [!INCLUDE[tsql](../../../includes/tsql-md.md)] rules regarding the use of quotation marks in SQL statements. For more information, see [Effects of ISO Options](../../../relational-databases/native-client-odbc-queries/executing-statements/effects-of-iso-options.md).|
8080
|**Regional**|When "yes", the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Native Client ODBC driver uses client settings when converting currency, date, and time data to character data. The conversion is one way only; the driver does not recognize non-ODBC standard formats for date strings or currency values within; for example, a parameter used in an INSERT or UPDATE statement. When "no", the driver uses ODBC standard strings to represent currency, date, and time data that is converted to character data.|
8181
|**SaveFile**|Name of an ODBC data source file into which the attributes of the current connection are saved if the connection is successful.|
8282
|**Server**|The name of a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] instance. The value must be either the name of a server on the network, an IP address, or the name of a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Configuration Manager alias.<br /><br /> The **Address** keyword overrides the **Server** keyword.<br /><br /> You can connect to the default instance on the local server by specifying one of the following:<br /><br /> **Server=;**<br /><br /> **Server=.;**<br /><br /> **Server=(local);**<br /><br /> **Server=(local);**<br /><br /> **Server=(localhost);**<br /><br /> **Server=(localdb)\\** _instancename_ **;**<br /><br /> For more information about LocalDB support, see [SQL Server Native Client Support for LocalDB](../../../relational-databases/native-client/features/sql-server-native-client-support-for-localdb.md).<br /><br /> To specify a named instance of [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)], append **\\**_InstanceName_.<br /><br /> When no server is specified, a connection is made to the default instance on the local computer.<br /><br /> If you specify an IP address, make sure that the TCP/IP or named pipes protocols are enabled in [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Configuration Manager.<br /><br /> The complete syntax for the **Server** keyword is as follows:<br /><br /> **Server=**[_protocol_**:**]*Server*[**,**_port_]<br /><br /> *protocol* can be **tcp** (TCP/IP), **lpc** (shared memory), or **np** (named pipes).<br /><br /> The following is an example of specifying a named pipe:<br /><br /> `np:\\.\pipe\MSSQL$MYINST01\sql\query`<br /><br /> This line specifies named pipe protocol, a named pipe on the local machine (`\\.\pipe`), the name of the [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] instance (`MSSQL$MYINST01`), and the default name of the named pipe (`sql/query`).<br /><br /> If neither a *protocol* nor the **Network** keyword is specified, [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Native Client will use the protocol order specified in [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Configuration Manager.<br /><br /> *port* is the port to connect to, on the specified server. By default, [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] uses port 1433.<br /><br /> Spaces are ignored at the beginning of the value passed to **Server** in ODBC connection strings when using [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Native Client.|
@@ -270,7 +270,8 @@ For information, see [Using Connection String Keywords with OLE DB Driver for SQ
270270
|**User ID**|DBPROP_AUTH_USERID|The [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] login name.|
271271
|**Workstation ID**|SSPROP_INIT_WSID|The workstation identifier.|
272272

273-
**Note** In the connection string, the "Old Password" property sets SSPROP_AUTH_OLD_PASSWORD, which is the current (possibly expired) password that is not available via a provider string property.
273+
> [!Note]
274+
> In the connection string, the "Old Password" property sets SSPROP_AUTH_OLD_PASSWORD, which is the current (possibly expired) password that is not available via a provider string property.
274275
275276
## See also
276277
[Building Applications with SQL Server Native Client](../../../relational-databases/native-client/applications/building-applications-with-sql-server-native-client.md)

docs/relational-databases/replication/administration/enhance-transactional-replication-performance.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ The **–MaxCmdsInTran** parameter specifies the maximum number of statements gr
112112
The **–SubscriptionStreams** parameter can greatly improve aggregate replication throughput. It allows multiple connections to a Subscriber to apply batches of changes in parallel, while maintaining many of the transactional characteristics present when using a single thread. If one of the connections fails to execute or commit, all connections will abort the current batch, and the agent will use a single stream to retry the failed batches. Before this retry phase completes, there can be temporary transactional inconsistencies at the Subscriber. After the failed batches are successfully committed, the Subscriber is brought back to a state of transactional consistency.
113113

114114
A value for this agent parameter can be specified using the `@subscriptionstreams` of [sp_addsubscription &#40;Transact-SQL&#41;](../../../relational-databases/system-stored-procedures/sp-addsubscription-transact-sql.md).
115-
116-
For more information on implementing subscription streams, see [Navigating SQL replication subscriptionStream setting](https://repltalk.com/2010/03/01/navigating-sql-replication-subscriptionstreams-setting/).
117115

118116
### Blocking Monitor Thread
119117

@@ -152,10 +150,8 @@ Distribution Agent uses one session to retry the batch that could not be applied
152150

153151
Committing a set of transactions has a fixed overhead; by committing a larger number of transactions less frequently, the overhead is spread across a larger volume of data. Increasing CommitBatchSize (up to 200) can improve performance as more transactions are committed to the subscriber. However, the benefit of increasing this parameter drops off as the cost of applying changes is gated by other factors, such as the maximum I/O of the disk that contains the log. Additionally, there is a trade-off to be considered: any failure that causes the Distribution Agent to start over must roll back and reapply a larger number of transactions. For unreliable networks, a lower value can result in fewer failures and a smaller number of transactions to roll back and reapply if a failure occurs.
154152

153+
## Related content
155154

156-
## See more
157-
158-
[Work with Replication Agent Profiles](../../../relational-databases/replication/agents/work-with-replication-agent-profiles.md)
159-
[View and Modify Replication Agent Command Prompt Parameters &#40;SQL Server Management Studio&#41;](../../../relational-databases/replication/agents/view-and-modify-replication-agent-command-prompt-parameters.md)
160-
[Replication Agent Executables Concepts](../../../relational-databases/replication/concepts/replication-agent-executables-concepts.md)
161-
155+
- [Work with Replication Agent Profiles](../agents/work-with-replication-agent-profiles.md)
156+
- [View and Modify Replication Agent Command Prompt Parameters](../agents/view-and-modify-replication-agent-command-prompt-parameters.md)
157+
- [Replication Agent Executables Concepts](../concepts/replication-agent-executables-concepts.md)

docs/relational-databases/replication/security/identity-and-access-control-replication.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,10 @@ monikerRange: "=azuresqldb-mi-current||>=sql-server-2016"
4343
## Manage Logins and Passwords in Replication
4444
Specify the logins and passwords for replication agents when you configure replication. After configuring replication, you can change logins and passwords. For more information, see [View and Modify Replication Security Settings](../../../relational-databases/replication/security/view-and-modify-replication-security-settings.md). If you change the password for an account used by a replication agent, execute [sp_changereplicationserverpasswords &#40;Transact-SQL&#41;](../../../relational-databases/system-stored-procedures/sp-changereplicationserverpasswords-transact-sql.md).
4545

46-
Support for the use of group Managed Service Accounts (gMSA) is introduced in SQL Server 2014. For more information, see the blog [Replication and group Managed Service Accounts](https://repltalk.com/2019/03/26/replication-and-group-managed-service-accounts/).
47-
48-
## See Also
49-
[Threat and Vulnerability Mitigation &#40;Replication&#41;](../../../relational-databases/replication/security/threat-and-vulnerability-mitigation-replication.md)
50-
[Replication Agent Security Model](../../../relational-databases/replication/security/replication-agent-security-model.md)
51-
[Replication Security Best Practices](../../../relational-databases/replication/security/replication-security-best-practices.md)
46+
Support for the use of group Managed Service Accounts (gMSA) was introduced in SQL Server 2014.
5247

53-
54-
48+
## Related content
49+
50+
- [Threat and Vulnerability Mitigation (Replication)](threat-and-vulnerability-mitigation-replication.md)
51+
- [Replication Agent Security Model](replication-agent-security-model.md)
52+
- [Replication Security Best Practices](replication-security-best-practices.md)

docs/relational-databases/replication/troubleshoot-tran-repl-errors.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,9 @@ You can use verbose logging to see more detailed information about errors occurr
269269
270270
1. To disable verbose logging, follow the same previous steps to remove the entire `-Output` line that you added earlier.
271271

272-
273-
274272
## Related content
275273

276274
- [Transactional replication overview](../../relational-databases/replication/transactional/transactional-replication.md)
277275
- [Replication tutorials](../../relational-databases/replication/replication-tutorials.md)
278-
- [ReplTalk blog](https://blogs.msdn.microsoft.com/repltalk)
279276

280277
[!INCLUDE[get-help-options](../../includes/paragraph-content/get-help-options.md)]
281-

docs/relational-databases/replication/tutorial-replicating-data-between-continuously-connected-servers.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ To complete this tutorial, you need SQL Server, SQL Server Management Studio (SS
4646
- Download the [AdventureWorks sample database](https://github.com/Microsoft/sql-server-samples/releases). For instructions on restoring a database in SSMS, see [Restoring a database](../backup-restore/restore-a-database-backup-using-ssms.md).
4747

4848
>[!NOTE]
49-
> - Replication is not supported on SQL Server instances that are more than two versions apart. For more information, see [Supported SQL Server Versions in Replication Topology](https://blogs.msdn.microsoft.com/repltalk/2016/08/12/suppported-sql-server-versions-in-replication-topology/).
50-
> - In [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)], you must connect to the publisher and subscriber by using a login that is a member of the **sysadmin** fixed server role. For more information on this role, see [Server-level roles](../security/authentication-access/server-level-roles.md).
49+
> Replication is not supported on SQL Server instances that are more than two versions apart.
50+
>
51+
> In [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)], you must connect to the publisher and subscriber by using a login that is a member of the **sysadmin** fixed server role. For more information on this role, see [Server-level roles](../security/authentication-access/server-level-roles.md).
5152
5253

5354
**Estimated time to complete this tutorial: 60 minutes**

docs/relational-databases/replication/tutorial-replicating-data-with-mobile-clients.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ To complete this tutorial, you need SQL Server, SQL Server Management Studio (SS
4646

4747

4848
>[!NOTE]
49-
> - Replication is not supported on SQL Server instances that are more than two versions apart. For more information, see [Supported SQL Server Versions in Replication Topology](https://blogs.msdn.microsoft.com/repltalk/2016/08/12/suppported-sql-server-versions-in-replication-topology/).
50-
> - In [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)], you must connect to the publisher and subscriber by using a login that is a member of the **sysadmin** fixed server role. For more information on this role, see [Server-level roles](../security/authentication-access/server-level-roles.md).
49+
> Replication is not supported on SQL Server instances that are more than two versions apart.
50+
>
51+
> In [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)], you must connect to the publisher and subscriber by using a login that is a member of the **sysadmin** fixed server role. For more information on this role, see [Server-level roles](../security/authentication-access/server-level-roles.md).
5152
5253

5354
**Estimated time to complete this tutorial: 60 minutes**

docs/relational-databases/system-functions/cdc-fn-cdc-get-all-changes-capture-instance-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ cdc.fn_cdc_get_all_changes_capture_instance ( from_lsn , to_lsn , '<row_filter_o
7575

7676
Columns of data type **image**, **text**, and **ntext** are always assigned a NULL value when **__$operation** = 1 or **__$operation** = 3. Columns of data type **varbinary(max)**, **varchar(max)**, or **nvarchar(max)** are assigned a NULL value when **__$operation** = 3 unless the column changed during the update. When **__$operation** = 1, these columns are assigned their value at the time of the delete. Computed columns that are included in a capture instance always have a value of NULL.
7777

78-
Error 313 is expected if LSN range supplied is not appropriate when calling `cdc.fn_cdc_get_all_changes_<capture_instance>` or `cdc.fn_cdc_get_net_changes_<capture_instance>`. If the `lsn_value` parameter is beyond the time of lowest LSN or highest LSN, then execution of these functions will return in error 313: `Msg 313, Level 16, State 3, Line 1 An insufficient number of arguments were supplied for the procedure or function`. This error should be handled by the developer. Sample T-SQL for a workaround can be found [at ReplTalk on GitHub](https://github.com/ReplTalk/ReplScripts/tree/master/CDC).
78+
Error 313 is expected if LSN range supplied is not appropriate when calling `cdc.fn_cdc_get_all_changes_<capture_instance>` or `cdc.fn_cdc_get_net_changes_<capture_instance>`. If the `lsn_value` parameter is beyond the time of lowest LSN or highest LSN, then execution of these functions will return in error 313: `Msg 313, Level 16, State 3, Line 1 An insufficient number of arguments were supplied for the procedure or function`. This error should be handled by the developer.
7979

8080
## Examples
8181
Several [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] templates are available that show how to use the change data capture query functions. These templates are available on the **View** menu in [!INCLUDE[ssManStudio](../../includes/ssmanstudio-md.md)]. For more information, see [Template Explorer](../../ssms/template/template-explorer.md).

0 commit comments

Comments
 (0)