You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/connect/odbc/cpp-code-example-app-connect-access-sql-db.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.author: v-daenge
17
17
18
18
This C++ sample application demonstrates how to use the ODBC APIs to connect to and access a SQL database.
19
19
20
-
Between October 2013 and July 2019, this sample C++ ODBC application was downloaded 47,300 times. In July 2019 this application source was moved from Microsoft's Code Gallery to this webpage.
20
+
Between October 2013 and July 2019, this sample C++ ODBC application was downloaded 47,300 times. In July 2019, this application source was moved from Microsoft's Code Gallery to this webpage.
Copy file name to clipboardExpand all lines: docs/connect/odbc/dsn-connection-string-attribute.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ This page lists the keywords for connection strings and DSNs, and connection att
17
17
18
18
## Supported DSN/Connection String Keywords and Connection Attributes
19
19
20
-
The following table lists the available keywords and the attributes for each platform (L: Linux; M: Mac ; W: Windows). Click the keyword or attribute for more details.
20
+
The following table lists the available keywords and the attributes for each platform (L: Linux; M: macOS; W: Windows). Click the keyword or attribute for more details.
Here are some connection string keywords and connection attributes which are not documented in [Using Connection String Keywords with SQL Server Native Client](../../relational-databases/native-client/applications/using-connection-string-keywords-with-sql-server-native-client.md), [SQLSetConnectAttr](../../relational-databases/native-client-odbc-api/sqlsetconnectattr.md) and [SQLSetConnectAttr Function](../../odbc/reference/syntax/sqlsetconnectattr-function.md).
119
+
Here are some connection string keywords and connection attributes, which are not documented in [Using Connection String Keywords with SQL Server Native Client](../../relational-databases/native-client/applications/using-connection-string-keywords-with-sql-server-native-client.md), [SQLSetConnectAttr](../../relational-databases/native-client-odbc-api/sqlsetconnectattr.md), and [SQLSetConnectAttr Function](../../odbc/reference/syntax/sqlsetconnectattr-function.md).
120
120
121
121
### Description
122
122
@@ -146,7 +146,7 @@ Controls the use of SQL Server Fallback Connections. This one is no longer suppo
146
146
147
147
### Authentication - SQL_COPT_SS_AUTHENTICATION
148
148
149
-
Sets the authentication mode to use when connecting to SQL Server. See [Using Azure Active Directory](using-azure-active-directory.md) for more information.
149
+
Sets the authentication mode to use when connecting to SQL Server. For more information, see [Using Azure Active Directory](using-azure-active-directory.md).
150
150
151
151
| Keyword Value | Attribute Value | Description |
152
152
|-|-|-|
@@ -163,7 +163,7 @@ Sets the authentication mode to use when connecting to SQL Server. See [Using Az
Controls transparent column encryption (Always Encrypted). See [Using Always Encrypted (ODBC)](using-always-encrypted-with-the-odbc-driver.md) for more information.
166
+
Controls transparent column encryption (Always Encrypted). For more information, see [Using Always Encrypted (ODBC)](using-always-encrypted-with-the-odbc-driver.md).
Controls the Transparent Network IP Resolution feature, which interacts with MultiSubnetFailover to allow faster reconnection attempts. See [Using Transparent Network IP Resolution](using-transparent-network-ip-resolution.md) for more information.
176
+
Controls the Transparent Network IP Resolution feature, which interacts with MultiSubnetFailover to allow faster reconnection attempts. For more information, see [Using Transparent Network IP Resolution](using-transparent-network-ip-resolution.md).
177
177
178
178
| Keyword Value | Attribute Value| Description |
179
179
|-|-|-|
@@ -216,7 +216,7 @@ In case if private key file is password protected then password keyword is requi
216
216
217
217
### SQL_COPT_SS_ACCESS_TOKEN
218
218
219
-
Allows the use of an Azure Active Directory access token for authentication. See [Using Azure Active Directory](using-azure-active-directory.md) for more information.
219
+
Allows the use of an Azure Active Directory access token for authentication. For more information, see [Using Azure Active Directory](using-azure-active-directory.md).
220
220
221
221
| Attribute Value | Description |
222
222
|-|-|
@@ -225,23 +225,23 @@ Allows the use of an Azure Active Directory access token for authentication. See
225
225
226
226
### SQL_COPT_SS_CEKEYSTOREDATA
227
227
228
-
Communicates with a loaded keystore provider library. See Controls transparent column encryption (Always Encrypted). This attribute has no default value. See [Custom Keystore Providers](custom-keystore-providers.md) for more information.
228
+
Communicates with a loaded keystore provider library. See Controls transparent column encryption (Always Encrypted). This attribute has no default value. For more information, see [Custom Keystore Providers](custom-keystore-providers.md).
229
229
230
230
| Attribute Value | Description |
231
231
|-|-|
232
232
| CEKEYSTOREDATA * | Communication data structure for keystore provider library |
233
233
234
234
### SQL_COPT_SS_CEKEYSTOREPROVIDER
235
235
236
-
Loads a keystore provider library for Always Encrypted, or retrieves the names of loaded keystore provider libraries. See [Custom Keystore Providers](custom-keystore-providers.md) for more information. This attribute has no default value.
236
+
Loads a keystore provider library for Always Encrypted, or retrieves the names of loaded keystore provider libraries. For more information, see [Custom Keystore Providers](custom-keystore-providers.md). This attribute has no default value.
237
237
238
238
| Attribute Value | Description |
239
239
|-|-|
240
240
| char * | Path to a keystore provider library |
241
241
242
242
### SQL_COPT_SS_ENLIST_IN_XA
243
243
244
-
To enable XA transactions with an XA-compliant Transaction Processor (TP), the application needs to call **SQLSetConnectAttr** with SQL_COPT_SS_ENLIST_IN_XA and a pointer to an `XACALLPARAM` object. This option is supported on Windows, (17.3 and above) Linux and Mac.
244
+
To enable XA transactions with an XA-compliant Transaction Processor (TP), the application needs to call **SQLSetConnectAttr** with SQL_COPT_SS_ENLIST_IN_XA and a pointer to an `XACALLPARAM` object. This option is supported on Windows, (17.3 and above) Linux, and macOS.
|XACALLPARAM object*|The pointer to `XACALLPARAM` object.|Windows, Linux and Mac|
255
+
|XACALLPARAM object*|The pointer to `XACALLPARAM` object.|Windows, Linux, and macOS|
256
256
|TRUE|Associates the XA transaction with the ODBC connection. All related database activities will be performed under the protection of the XA transaction.|Windows|
257
257
|FALSE|Disassociates the transaction with the ODBC connection.|Windows|
258
258
259
-
See [Using XA Transactions](../../connect/odbc/use-xa-with-dtc.md) for more information about XA transactions.
259
+
For more information about XA transactions, see [Using XA Transactions](../../connect/odbc/use-xa-with-dtc.md).
260
260
261
261
### SQL_COPT_SS_SPID
262
262
263
-
Retrieves the server process ID of the connection. This is equivalent to the T-SQL [@@SPID](../../t-sql/functions/spid-transact-sql.md) variable, except that it does not incur an additional round-trip to the server.
263
+
Retrieves the server process ID of the connection. This is equivalent to the T-SQL [@@SPID](../../t-sql/functions/spid-transact-sql.md) variable, except that it does not incur an additional roundtrip to the server.
0 commit comments