Einzelnen Beitrag anzeigen

jobo

Registriert seit: 29. Nov 2010
3.072 Beiträge
 
Delphi 2010 Enterprise
 
#7

AW: Zugriff auf MS SQL-Server über ODBC ohne Einrichtung einer Datenquelle per ODBC-A

  Alt 23. Mär 2012, 08:54
OT:
Ich verstehe das eher so, dass eine bestimmte OLEDB Technik bzw. u.a. ein einzelner Treiber abgeschafft wird (ebenso wie der zugehöriger ODBC Treiber- SQLOLEDB, SQLODBC). OLEDB in Verbindung mit dem neuen SQL Native Client gibt es weiterhin.
Außerdem ist der aktuellste SQL Server "Denali" mit dem besagten Treiber ja grad erst am Start. Wird also alles noch ein paar Jährchen dauern.

Siehe http://msdn.microsoft.com/en-us/libr...QLServerNative
Zitat von msdn.microsoft.com:
...
Deprecated MDAC/WDAC Components

These components are still supported in the current release of MDAC/WDAC, but they might be removed in future releases. Microsoft recommends, when you develop new applications, that you avoid using these components. Additionally, when you upgrade or modify existing applications, remove any dependency on these components.

SQLOLEDB: The Microsoft OLE DB Provider for SQL Server (SQLOLEDB), which supports access to Microsoft SQL Server, has been deprecated. Its connectivity to future versions of SQL Server may not be supported and the ability to connect to versions earlier than SQL Server 7 will be removed from the operating system after Windows 7. New applications should use the SQL Server Native Client OLEDB provider, which supports new SQL Server features. Existing applications should migrate to the SQL Server Native Client OLEDB provider as well for better performance, reliability and supportability (see Updating an Application to SQL Server Native Client from MDAC for more information).

SQLODBC: The Microsoft SQL Server ODBC Driver (SQLODBC), which supports access to Microsoft SQL Server, has been deprecated. Its connectivity to future versions of SQL Server may not be supported and the ability to connect to versions earlier than SQL Server 7 will be removed from the operating system after Windows 7. New applications should use the SQL Server Native Client ODBC driver, which supports new SQL Server features. Existing applications should migrate to the SQL Server Native Client ODBC driver as well for better performance, reliability and supportability (see Updating an Application to SQL Server Native Client from MDAC for more information).
...

und hier ein deutscher Blog Artikel
http://olafhelper.over-blog.de/artic...-82951588.html

Allerdings bestätigt mich der ODBC Schwenk wieder mal darin, dass MS nicht Willens ist (und vermutlich auch nicht in der Lage wäre), kontinuierliche Technology zu liefern.
Das gefällt mir bei Delphi / VCL viel besser!

Und ich finde es schon interessant, sich vorzustellen, was speziell in diesem Fall von Technologieschwenk die Gründe sind. MS hebt bspw. im MSDN irgendwo die tolle C++ API von ODBC hervor.

Zum Thema:
Ich kann mich dunkel erinnern, dass ich mal irgendwo bei uns uralten Delphi (3. oder 4.) Code gesehen hab, der eine ODBC Connection on the fly erzeugt- als Objekt. War's mit BDE, DAO, RDO, .. Komponenten? Ich weiß nicht mehr.
Gruß, Jo
  Mit Zitat antworten Zitat