Skip to content

Commit d402d42

Browse files
Merge pull request #36208 from Vahid-b/ODBC18.6.1
Add ConcatNullYieldsNull connection string keyword documentation
2 parents 83bd551 + dd715ec commit d402d42

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

docs/connect/odbc/dsn-connection-string-attribute.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: ODBC DSN and connection string keywords
33
description: How to connect using the ODBC driver. Find keywords for connection strings and DSNs, and connection attributes for SQLSetConnectAttr and SQLGetConnectAttr.
44
author: David-Engel
55
ms.author: davidengel
6-
ms.date: 09/08/2025
6+
ms.date: 01/09/2026
77
ms.service: sql
88
ms.subservice: connectivity
99
ms.topic: conceptual
@@ -29,6 +29,7 @@ The following table lists the available keywords and the attributes for each pla
2929
| [ClientCertificate](dsn-connection-string-attribute.md#clientcertificate) | | LMW |
3030
| [ClientKey](dsn-connection-string-attribute.md#clientkey) | | LMW |
3131
| [ColumnEncryption](dsn-connection-string-attribute.md#columnencryption---sql_copt_ss_column_encryption) | [SQL_COPT_SS_COLUMN_ENCRYPTION](dsn-connection-string-attribute.md#columnencryption---sql_copt_ss_column_encryption) | LMW |
32+
| [ConcatNullYieldsNull](#concatnullyieldsnull---sql_copt_ss_concat_null) (v18.6+) | [SQL_COPT_SS_CONCAT_NULL](#concatnullyieldsnull---sql_copt_ss_concat_null) | LMW |
3233
| [ConnectRetryCount](connection-resiliency.md) | [SQL_COPT_SS_CONNECT_RETRY_COUNT](connection-resiliency.md) | LMW |
3334
| [ConnectRetryInterval](connection-resiliency.md) | [SQL_COPT_SS_CONNECT_RETRY_INTERVAL](connection-resiliency.md) | LMW |
3435
| [Database](../../relational-databases/native-client/applications/using-connection-string-keywords-with-sql-server-native-client.md) | [SQL_ATTR_CURRENT_CATALOG](../../odbc/reference/syntax/sqlsetconnectattr-function.md) | LMW |
@@ -105,7 +106,6 @@ The following table lists the available keywords and the attributes for each pla
105106
| | [SQL_COPT_SS_CEKEYSTOREDATA](dsn-connection-string-attribute.md#sql_copt_ss_cekeystoredata) | LMW |
106107
| | [SQL_COPT_SS_CEKEYSTOREPROVIDER](dsn-connection-string-attribute.md#sql_copt_ss_cekeystoreprovider) | LMW |
107108
| | [SQL_COPT_SS_CLIENT_CONNECTION_ID](../../relational-databases/native-client-odbc-api/sqlgetconnectattr.md) | LMW |
108-
| | [SQL_COPT_SS_CONCAT_NULL](../../relational-databases/native-client-odbc-api/sqlsetconnectattr.md#sqlcoptssconcatnull) | LMW |
109109
| | [SQL_COPT_SS_CONNECTION_DEAD](../../relational-databases/native-client-odbc-api/sqlsetconnectattr.md#sqlcoptssconnectiondead) | LMW |
110110
| | [SQL_COPT_SS_DATACLASSIFICATION_VERSION](data-classification.md) (v17.4.2+) | LMW |
111111
| | [SQL_COPT_SS_ENLIST_IN_DTC](../../relational-databases/native-client-odbc-api/sqlsetconnectattr.md#sqlcoptssenlistindtc) | W |
@@ -186,6 +186,15 @@ Controls transparent column encryption (Always Encrypted). For more information,
186186
|Disabled|SQL_CE_DISABLED|(Default) Disables Always Encrypted.|
187187
| |SQL_CE_RESULTSETONLY|Enables decryption only (results and return values).|
188188

189+
### ConcatNullYieldsNull - SQL_COPT_SS_CONCAT_NULL
190+
191+
Controls the use of ISO handling of NULL when concatenating strings. For more information, see [SET CONCAT_NULL_YIELDS_NULL (Transact-SQL)](../../t-sql/statements/set-concat-null-yields-null-transact-sql.md).
192+
193+
| Keyword Value | Attribute Value | Description |
194+
|-|-|-|
195+
|Yes|SQL_CN_ON|(Default) NULL concatenation yields NULL.|
196+
|No|SQL_CN_OFF|NULL concatenation yields string.|
197+
189198
### Encrypt
190199

191200
Specifies whether connections use TLS encryption over the network. Possible values are `yes`/`mandatory`(18.0+), `no`/`optional`(18.0+), and `strict`(18.0+). The default value is `yes` in version 18.0+ and `no` in previous versions.

0 commit comments

Comments
 (0)