Skip to content

Commit d8d97aa

Browse files
authored
Merge pull request #5346 from MicrosoftDocs/master
3/30 AM Publish
2 parents 9f4330a + 07c34cd commit d8d97aa

4 files changed

Lines changed: 16 additions & 36 deletions

File tree

docs/connect/oledb/oledb-driver-for-sql-server.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,20 @@ ms.workload: "Active"
2323

2424
MSOLEDBSQL, or OLE DB Driver for SQL Server, is a term that has been used interchangeably to refer to OLE DB Driver for SQL Server.
2525

26-
## Different Incarnations of OLE DB Drivers
27-
28-
There are three distinct incarnations of Microsoft OLE DB providers for SQL Server.
26+
## Different generations of OLE DB Drivers
2927

28+
There are three distinct generations of Microsoft OLE DB providers for SQL Server.
3029

3130
### 1. Microsoft OLE DB Provider for SQL Server (SQLOLEDB)
32-
3331
The [Microsoft OLE DB Provider for SQL Server](../../ado/guide/appendixes/microsoft-ole-db-provider-for-sql-server.md) (SQLOLEDB) still ships as part of [Windows Data Access Components](https://msdn.microsoft.com/en-us/library/ms692897.aspx). It is not recommended to use this driver for new development.
3432

3533

3634
### 2. SQL Server Native Client (SNAC)
37-
3835
Starting in SQL Server 2005, the [SQL Server Native Client (SNAC)](../../relational-databases/native-client/sql-server-native-client.md) includes an OLE DB provider interface (SQLNCLI) and is the OLE DB provider that shipped with SQL Server 2005 through SQL Server 2017.
3936

4037
It was [announced as deprecated in 2011](https://blogs.msdn.microsoft.com/sqlnativeclient/2011/08/29/microsoft-is-aligning-with-odbc-for-native-relational-data-access/) and it is not recommended to use this driver for new development.
4138

42-
4339
### 3. Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL)
44-
4540
OLE DB was [announced as undeprecated in 2017](https://blogs.msdn.microsoft.com/sqlnativeclient/2017/10/06/announcing-the-new-release-of-ole-db-driver-for-sql-server/). A new planned release was announced for 2018.
4641

4742
The new OLE DB provider is called the Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL). The new provider will be updated with the most recent server features going forward.
@@ -59,5 +54,5 @@ Information on the OLE DB Driver for SQL Server features:
5954
- [Accessing Diagnostic Information in the Extended Events Log](../oledb/features/accessing-diagnostic-information-in-the-extended-events-log.md)
6055

6156
## See also
62-
[Install OLE DB Driver for SQL Server](../oledb/applications/installing-oledb-driver-for-sql-server.md)
63-
[OLE DB Driver for SQL Server Features](../oledb/features/oledb-driver-for-sql-server-features.md )
57+
[Install OLE DB Driver for SQL Server](../oledb/applications/installing-oledb-driver-for-sql-server.md)
58+
[OLE DB Driver for SQL Server Features](../oledb/features/oledb-driver-for-sql-server-features.md )

docs/connect/sql-connection-libraries.md

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.technology: "dbe-data-tier-apps"
1111
ms.custom: ""
1212
ms.workload: "data-management"
1313
ms.topic: article
14-
ms.date: 08/09/2017
14+
ms.date: 03/29/2018
1515
ms.author: genemi
1616
---
1717
# Connection modules for Microsoft SQL databases
@@ -22,7 +22,6 @@ This article provides download links to connection modules or *drivers* that you
2222
- MacOS
2323
- Windows
2424

25-
2625
#### OOP-to-relational mismatch
2726

2827
*Relational*: Client programs that are written in an object-oriented programming (OOP) language often use SQL drivers which return queried data in a format that is more relational than object oriented. C# using ADO.NET is one example. The OOP-relational format mismatch sometimes makes the OOP code harder to write and understand.
@@ -31,7 +30,6 @@ This article provides download links to connection modules or *drivers* that you
3130

3231
The present article devotes separate sections to these two kinds of connection drivers.
3332

34-
3533
<a name="anchor-20-drivers-relational-access" />
3634

3735
## Drivers for relational access
@@ -48,19 +46,17 @@ PHP driver in Github.com also uses this FWLink: http://go.microsoft.com/fwlink/
4846
although the FWLink is less precise than is http://github.com/Microsoft/msphpsql/tree/dev#install-unix .
4947
-->
5048

51-
5249
| Language | Download the SQL driver |
5350
| :------- | :---------------------- |
54-
| C# | [ADO.NET](http://www.microsoft.com/net/download/)<br /><br />[.NET Core, for Linux-Ubuntu](https://www.microsoft.com/net/core#Ubuntu)<br />[.NET Core, for MacOS](https://www.microsoft.com/net/core#macos)<br />[.NET Core, for Windows](https://www.microsoft.com/net/core) |
55-
| C++ | [ODBC](http://docs.microsoft.com/sql/connect/odbc/download-odbc-driver-for-sql-server) |
56-
| Java | [JDBC](http://www.microsoft.com/download/details.aspx?id=55539) |
57-
| Node.js | [Node.js driver, install instructions](http://docs.microsoft.com/sql/connect/node-js/step-1-configure-development-environment-for-node-js-development) |
58-
| PHP | *Operating system:*<br /><br />[Windows PHP driver](https://www.microsoft.com/download/details.aspx?id=55642)<br />[Linux or macOS PHP driver from Github](http://github.com/Microsoft/msphpsql/) |
59-
| Python | [pyodbc, install instructions](http://docs.microsoft.com/sql/connect/python/pyodbc/step-1-configure-development-environment-for-pyodbc-python-development)<br />[Download ODBC](http://docs.microsoft.com/sql/connect/odbc/download-odbc-driver-for-sql-server) |
60-
| Ruby | [Ruby driver, install instructions](https://docs.microsoft.com/sql/connect/ruby/step-1-configure-development-environment-for-ruby-development)<br />[Ruby download page](https://rubyinstaller.org/downloads/) |
51+
| C# | [ADO.NET](http://www.microsoft.com/net/download/)<br /><br />[.NET Core, for Linux-Ubuntu](https://www.microsoft.com/net/core#Ubuntu)<br />[.NET Core, for MacOS](https://www.microsoft.com/net/core#macos)<br />[.NET Core, for Windows](https://www.microsoft.com/net/core) |
52+
| C++ | [ODBC](./odbc/download-odbc-driver-for-sql-server.md)<br /><br />[OLE DB](./oledb/oledb-driver-for-sql-server-programming.md) |
53+
| Java | [JDBC](./jdbc/microsoft-jdbc-driver-for-sql-server.md) |
54+
| Node.js | [Node.js driver, install instructions](./node-js/step-1-configure-development-environment-for-node-js-development.md) |
55+
| PHP | *Operating system:*<br /><br />[Windows PHP driver](https://www.microsoft.com/download/details.aspx?id=55642)<br />[Linux or macOS PHP driver from Github](http://github.com/Microsoft/msphpsql/) |
56+
| Python | [pyodbc, install instructions](./python/pyodbc/step-1-configure-development-environment-for-pyodbc-python-development.md)<br />[Download ODBC](./odbc/download-odbc-driver-for-sql-server.md) |
57+
| Ruby | [Ruby driver, install instructions](./ruby/step-1-configure-development-environment-for-ruby-development.md)<br />[Ruby download page](https://rubyinstaller.org/downloads/) |
6158
| &nbsp; | <br /> |
6259

63-
6460
<a name="anchor-40-drivers-orm-access" />
6561

6662
## Drivers for ORM access
@@ -77,14 +73,11 @@ The following table lists examples of Object Relational Mapping (ORM) frameworks
7773
| Node.js | [Sequelize ORM](http://docs.sequelizejs.com) |
7874
| Python | [Django](http://www.djangoproject.com/) |
7975
| Ruby | [Ruby on Rails](http://rubyonrails.org/) |
80-
| &nbsp; | <br /> |
8176

8277

8378
<a name="anchor-60-build-an-app-webpages" />
8479

8580
## Build-an-app webpages
86-
87-
8881
[http://aka.ms/sqldev](http://aka.ms/sqldev) takes you to a set of *Build-an-app* webpages. The webpages provide information about numerous combinations of programming language, operating system, and SQL connection driver. Among the information provided by the Build-an-app webpages are the following items:
8982

9083
- Details about how to get started from the very beginning, for each combination of language + operating system + driver.
@@ -94,25 +87,17 @@ The following table lists examples of Object Relational Mapping (ORM) frameworks
9487
- ORM code examples.
9588
- Columnstore index demonstrations for much faster performance.
9689

97-
9890
#### First page, of Build-an-app webpages
99-
10091
![Build-an-app webpages, first page screenshot][image-ref-163-buildanapp-webpages-first-page]
10192

102-
10393
#### Menu for Java - Ubuntu, of Build-an-app webpages
104-
10594
![Build-an-app webpages, menu Java Ubuntu][image-ref-167-buildanapp-webpages-menu-java-ubuntu]
10695

107-
10896
&nbsp;
10997

110-
11198
## Related links
112-
11399
- [Code examples for connecting to Azure SQL Database in the cloud, with Java and other languages](http://docs.microsoft.com/azure/sql-database/sql-database-connect-query-java).
114100

115-
116101
<!-- Image references -->
117102

118103
[image-ref-163-buildanapp-webpages-first-page]: ./media/homepage-sql-connection-drivers/gm-aka-ms-sqldev-choose-language-g21.png

docs/database-engine/availability-groups/windows/availability-modes-always-on-availability-groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ms.workload: "On Demand"
4848
- [Related Content](#RelatedContent)
4949

5050
## <a name="SupportedAvModes"></a> Supported Availability Modes
51-
[!INCLUDE[ssHADR](../../../includes/sshadr-md.md)] supports two availability modes—asynchronous-commit mode and synchronous-commit mode, as follows:
51+
[!INCLUDE[ssHADR](../../../includes/sshadr-md.md)] supports three availability modes—asynchronous-commit mode, synchronous-commit mode, and configuration only mode as follows:
5252

5353
- *Asynchronous-commit mode* is a disaster-recovery solution that works well when the availability replicas are distributed over considerable distances. If every secondary replica is running under asynchronous-commit mode, the primary replica does not wait for any of the secondary replicas to harden the log. Rather, immediately after writing the log record to the local log file, the primary replica sends the transaction confirmation to the client. The primary replica runs with minimum transaction latency in relation to a secondary replica that is configured for asynchronous-commit mode. If the current primary is configured for asynchronous commit availability mode, it will commit transactions asynchronously for all secondary replicas regardless of their individual availability mode settings.
5454

docs/odbc/reference/develop-app/binding-arrays-of-parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ SQLINTEGER PartIDIndArray[ARRAY_SIZE], DescLenOrIndArray[ARRAY_SIZE],
5555
SQLUSMALLINT i, ParamStatusArray[ARRAY_SIZE];
5656
SQLULEN ParamsProcessed;
5757
58-
memset(DescLenOrIndArray, 0, sizeof(DescLenOrIndArray);
59-
memset(PartIDIndArray, 0, sizeof(PartIDIndArray);
60-
memset(PriceIndArray, 0, sizeof(PriceIndArray);
58+
memset(DescLenOrIndArray, 0, sizeof(DescLenOrIndArray));
59+
memset(PartIDIndArray, 0, sizeof(PartIDIndArray));
60+
memset(PriceIndArray, 0, sizeof(PriceIndArray));
6161
6262
// Set the SQL_ATTR_PARAM_BIND_TYPE statement attribute to use
6363
// column-wise binding.

0 commit comments

Comments
 (0)