﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / T-SQL (SS2K5)  / what is the difference between ODBC and OleDB? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 02:16:35 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: what is the difference between ODBC and OleDB?</title><link>http://www.sqlservercentral.com/Forums/Topic537592-338-1.aspx</link><description>[quote][b]Phil Parkin (10/9/2012)[/b][hr][quote][b]Steve Jones - SSC Editor (7/28/2008)[/b][hr]Good explanation. OLEDB is newer and superceeds ODBC. You should aim to use OLEDB connections where possible. I believe there's an OLEDB provider that encapsulates all ODBC functionality.[/quote]Steve, I think this may not be the best advice.Looks to me as though OLEDB is being deprecated. [url=http://social.technet.microsoft.com/Forums/en/sqldataaccess/thread/e696d0ac-f8e2-4b19-8a08-7a357d3d780f]Here's another link[/url] which discusses the topic.[/quote]That was actually interesting link to read. Especially the part about [quote]Microsoft has been supporting ODBC through all the releases of SQL Server for relational data access. This includes adding new functionality to the ODBC drivers whenever a corresponding feature is added to SQL Server.[/quote]I've developed an application few years ago, which needed to receive and display in GUI  long stored procedure progress. Progress messages were implemented in stored proc using RAISERROR (of message severity) WITH NOWAIT which allows receiving such messages asynchronously by the client. It is possible using ADO InfoMessage handling. But, I only managed to get it working properly using ODBC driver!  All other drivers, for some reason, would get all InfoMessage events accumulated and raised at once on the end of process. I was really surprised that time why "old" ODBC driver did work but newest SQL Server Native Client didn't...Looks like MS always treated ODBC as the most up-to-date driver.</description><pubDate>Tue, 09 Oct 2012 04:49:37 GMT</pubDate><dc:creator>Eugene Elutin</dc:creator></item><item><title>RE: what is the difference between ODBC and OleDB?</title><link>http://www.sqlservercentral.com/Forums/Topic537592-338-1.aspx</link><description>[quote][b]Steve Jones - SSC Editor (7/28/2008)[/b][hr]Good explanation. OLEDB is newer and superceeds ODBC. You should aim to use OLEDB connections where possible. I believe there's an OLEDB provider that encapsulates all ODBC functionality.[/quote]Steve, I think this may not be the best advice.Looks to me as though OLEDB is being deprecated. [url=http://social.technet.microsoft.com/Forums/en/sqldataaccess/thread/e696d0ac-f8e2-4b19-8a08-7a357d3d780f]Here's another link[/url] which discusses the topic.</description><pubDate>Tue, 09 Oct 2012 03:06:32 GMT</pubDate><dc:creator>Phil Parkin</dc:creator></item><item><title>RE: what is the difference between ODBC and OleDB?</title><link>http://www.sqlservercentral.com/Forums/Topic537592-338-1.aspx</link><description>Though, this discussion had been an old discussion, I just want to add the information I got regarding OLD DB drivers. As per the below article, Microsoft is planning to depreciate OLEDB APIs and SQL Server 2012 will be the last version to support OLEDB. Therefore, it is highly recommended for programmers to write their codes with ODBC compatibility than OLEDB.http://www.itwriting.com/blog/4825-full-circle-for-microsoft-database-apis-as-ole-db-for-sql-server-is-deprecated.html</description><pubDate>Mon, 08 Oct 2012 08:11:18 GMT</pubDate><dc:creator>yidnek T Beyene</dc:creator></item><item><title>RE: what is the difference between ODBC and OleDB?</title><link>http://www.sqlservercentral.com/Forums/Topic537592-338-1.aspx</link><description>Good explanation. OLEDB is newer and superceeds ODBC. You should aim to use OLEDB connections where possible. I believe there's an OLEDB provider that encapsulates all ODBC functionality.</description><pubDate>Mon, 28 Jul 2008 09:50:46 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: what is the difference between ODBC and OleDB?</title><link>http://www.sqlservercentral.com/Forums/Topic537592-338-1.aspx</link><description>ODBC-it is designed for connecting to relational databases.However, OLE DB can access relational databases as well as nonrelational databases.There is data in your mail servers, directory services, spreadsheets, and text files. OLE DB allows SQL Server to link to these nonrelational database systems. For instance, if you want to query, through SQL Server, the Active Directory on the domain controller, you couldn't do this with ODBC, because it's not a relational database. However, you could use an OLE DB provider to accomplish that.In summary, The key difference between OLE DB and ODBC is that OLE DB can provide connection to data stored in non-relational format.:)</description><pubDate>Mon, 28 Jul 2008 09:33:33 GMT</pubDate><dc:creator>Nayyar</dc:creator></item><item><title>what is the difference between ODBC and OleDB?</title><link>http://www.sqlservercentral.com/Forums/Topic537592-338-1.aspx</link><description>Hi Friendswhat is the difference between ODBC and OleDB?</description><pubDate>Mon, 21 Jul 2008 05:53:25 GMT</pubDate><dc:creator>steven-733381</dc:creator></item></channel></rss>