odbc

Download ODBC

If you can't read please download the document

Upload: piers-townsend

Post on 27-Dec-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

  • Slide 1
  • ODBC https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 2
  • ODBC 1 In computing, 'ODBC' ('Open Database Connectivity') is a standard programming language middleware application programming interface|API for accessing database management systems (DBMS). The designers of ODBC aimed to make it independent of database systems and Operating Systems; an application written using ODBC can be ported to other platforms, both on the client and server side, with few changes to the data access code. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 3
  • ODBC 1 Any ODBC-compliant application can access any DBMS for which a driver is installed https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 4
  • ODBC 1 The CLI remains similar to ODBC, and applications can be ported from one platform to the other with few changes. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 5
  • ODBC - Early efforts 1 1, 69 Unlike the later ODBC, Blueprint was a purely code-based system, lacking anything approximating a command language like SQL https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 6
  • ODBC - SAG and CLI 1 A proposed standard was released in December 1991, and industry input was gathered and worked into the system through 1992, resulting in yet another name change to 'ODBC'. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 7
  • ODBC - Release and continued development 1 Some of this was unavoidable due to the path that the calls took through the Jet- based stack; ODBC calls to SQL databases were first converted from SIMBA's SQL dialect to Jet's internal C- based format, then passed to a driver for conversion back into SQL calls for the database https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 8
  • ODBC - Release and continued development 1 Circa 1993, OpenLink Software shipped one of the first independently developed third- party ODBC drivers, for the PROGRESS DBMS, and soon followed with their UDBC (a cross-platform API equivalent of ODBC and the SAG/CLI) SDK and associated drivers for PROGRESS, Sybase, Oracle, and other DBMS, for use on Unix-like OS (AIX, HP-UX, Solaris, Linux, etc.), OpenVMS|VMS, Windows NT, OS/2, and other OS. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 9
  • ODBC - Release and continued development 1 The two systems remain similar, and many applications can be ported from ODBC to CLI with few or no changes., InfoSphere Classic documentation, IBM, 26 September 2008 https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 10
  • ODBC - Release and continued development 1 Several new systems followed which further turned their attention from ODBC, including Jet Data Access Objects|DAO, ActiveX Data Objects|ADO and ADO.net, which interacted more or less with ODBC over their lifetimes. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 11
  • ODBC - Release and continued development 1 The later adoption of ODBC by Apple for using the standard Unix-side iODBC package Mac OS X 10.2|Mac OS X 10.2 (Jaguar) (which OpenLink Software had been independently providing for Mac OS X 10.0 and even Mac OS 9 since 2001) further cemented ODBC as the standard for cross-platform data access. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 12
  • ODBC - Release and continued development 1 Inversely, ODBC-to-JDBC bridges allow C- based programs to access data sources through JDBC drivers on platforms or from databases lacking suitable ODBC drivers. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 13
  • ODBC - ODBC today 1 ODBC remains largely universal today, with drivers available for most platforms and most databases. It is not uncommon to find ODBC drivers for database engines that are meant to be embedded, like SQLite, as a way to allow existing tools to act as front-ends to these engines for testing and debugging.Christian Werner, https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 14
  • ODBC - ODBC today 1 The virtualization that ODBC offers is no longer a strong requirement, and development of ODBC is no longer as active as it once was. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 15
  • ODBC - Version history 1 * 3.0: ca 1995, John Goodson of Intersolv and Frank Pellow and Paul Cotton of IBM provided significant input to ODBC 3.0Microsoft Corporation. Microsoft ODBC 3.0 Programmer's Reference and SDK Guide, Volume 1. Microsoft Press. February 1997. (ISBN13: 9781572315167) https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 16
  • ODBC - Drivers 1 ODBC is based on the device driver model, where the driver encapsulates the logic needed to convert a standard set of commands and functions into the specific calls required by the underlying system. For instance, a printer driver presents a standard set of printing commands, the API, to applications using the printing system. Calls made to those APIs are converted by the driver into the format used by the actual hardware, say PostScript or Printer Command Language|PCL. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 17
  • ODBC - Drivers 1 Finally, another set of commands, mostly used internally, is used to convert data from the DBMS's internal formats to a set of standardized ODBC formats, which are based on the C language formats. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 18
  • ODBC - Drivers 1 Because different technologies have different capabilities, most ODBC drivers do not implement all functionality defined in the ODBC standard https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 19
  • ODBC - Driver Manager 1 In ODBC the Driver Manager (DM) provides these features. The DM can enumerate the installed drivers and present this as a list, often in a GUI-based form. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 20
  • ODBC - Driver Manager 1 But more important to the operation of the ODBC system is the DM's concept of 'Data Source Name's, or 'DSN' https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 21
  • ODBC - Driver Manager 1 When an ODBC application attempts to connect to the DBMS using this DSN, the system will pause and ask the user to provide the password before continuing https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 22
  • ODBC - ODBC-to-JDBC (or simply ODBC-JDBC) bridges 1 An ODBC-JDBC bridge consists of an 'ODBC' driver which uses the services of a JDBC driver#Type 1 Driver - JDBC-ODBC bridge|JDBC driver to connect to a database. This driver translates ODBC function-calls into JDBC method-calls. Programmers usually use such a bridge when they lack an ODBC driver for a particular database but have access to a JDBC driver. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 23
  • ODBC - JDBC-to-ODBC (or simply JDBC-ODBC) bridges 1 independent data-access vendors deliver JDBC-ODBC bridges which support current standards for both mechanisms, and which far outperform the JVM built-in. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 24
  • ODBC - OLE DB-to-ODBC bridges 1 Third parties have also developed such, notably OpenLink Software whose 64-bit OLE DB Provider for ODBC Data Sources filled the gap when Microsoft initially deprecated this bridge for their 64-bit OS.Microsoft, Data Access Technologies Road Map, Deprecated MDAC Components, Microsoft, retrieved July 30, 2005 https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 25
  • ODBC - ADO.NET-to-ODBC bridges 1 This provider translates ADO.NET Method (computer science)|method calls into ODBC function calls https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 26
  • Open Database Connectivity - OLE DB-to-ODBC bridges 1 Third parties have also developed such, notably OpenLink Software whose 64-bit OLE DB Provider for ODBC Data Sources filled the gap when Microsoft initially deprecated this bridge for their 64-bit OS.Microsoft, Data Access Technologies Road Map, Deprecated MDAC Components, Microsoft [ http://msdn.microsoft.com/library/default.asp? url=/library/en- us/ado270/htm/mdrefodbcprovspec.asp ADO Programmer's Guide Appendix A: Providers, Microsoft OLE DB Provider for ODBC], retrieved July 30, 2005 https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 27
  • FileMaker - SQL and ODBC Support 1 This requires installation of the SQL database ODBC driver to connect to a SQL database https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 28
  • MyODBC 1 'MyODBC' is an ODBC interface and allows programming languages that support the ODBC Interface (computer science)|interface to communicate with a MySQL database. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 29
  • MyODBC 1 The official name is 'Connector/ODBC' which designates the MySQL AB product family of MySQL ODBC drivers. These are known as the MyODBC drivers. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 30
  • Microsoft Data Access Components - ODBC 1 ODBC allows programs to use SQL requests that will access databases without having to know the proprietary interfaces to the databases https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 31
  • Microsoft Data Access Components - MSDASQL and Oracle ODBC 1 The Microsoft OLE DB Provider for ODBC, or MSDASQL, was an OLE DB provider for allowing ActiveX Data Objects access to databases via any ODBC driver. Microsoft supplied several OLE-DB providers (for the Indexing Service, Active Directory, Jet, SQL Server, Oracle (MSDAORA https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 32
  • Microsoft Data Access Components - MSDASQL and Oracle ODBC 1 and Internet Publishing), however unless otherwise directed, ADO defaulted to using MSDASQL as the default provider. After MDAC 2.5 both the Oracle ODBC driver and MSDASQL supported Oracle 7 and partially supported Oracle 8i. Features that were not supported were: https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 33
  • Microsoft Data Access Components - MSDASQL and Oracle ODBC 1 Microsoft initially deprecated the MSDASQL component for their 64-bit Operating SystemsMicrosoft, Data Access Technologies Road Map, Deprecated MDAC Components, Microsoft [ http://msdn.microsoft.com/library/default.a sp?url=/library/en- us/ado270/htm/mdrefodbcprovspec.asp ADO Programmer's Guide Appendix A: Providers, Microsoft OLE DB Provider for ODBC], retrieved July 30, 2005. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 34
  • Microsoft Data Access Components - MSDASQL and Oracle ODBC 1 and the Microsoft Oracle ODBC driver was later superseded by a.NET Managed Oracle Provider, which supported Oracle 9i. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 35
  • Microsoft Data Access Components - MSDASQL and Oracle ODBC 1 Microsoft, MS KB article 244661: [ http://support.microsoft.com/kb/q244661/ INFO: Limitations of Microsoft Oracle ODBC Driver and OLEDB Provider], last reviewed August 25, 2004, retrieved August 4, 2005. However, Windows Server 2008 and Windows Vista SP1 ship with a 64-bit version of MSDASQL. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 36
  • Data Access Objects - ODBCDirect 1 The ODBC connection objects consist of QueryDef objects and recordset objects. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 37
  • ODBC Administrator 1 'ODBC Administrator' is a utility in the Mac OS X operating system for administering ODBC. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 38
  • ODBC Administrator 1 Enables database administration of ODBC-compliant data sources. Apple stopped including the ODBC Administrator with Mac OS X starting with the release of Mac OS X Snow Leopard. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 39
  • ODBC Administrator 1 Features include connection pooling, trace log creation, and ODBC driver management, among other administration features. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 40
  • JDBC driver - Type 1 Driver - JDBC-ODBC bridge 1 The JDBC type 1 driver, also known as the 'JDBC-ODBC bridge', is a database driver implementation that employs the ODBC driver to connect to the database. The driver converts JDBC method calls into ODBC function calls. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 41
  • JDBC driver - Type 1 Driver - JDBC-ODBC bridge 1 Type 1 drivers also don't support the complete Java command set and are limited by the functionality of the ODBC driver. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 42
  • JDBC driver - Type 1 Driver - JDBC-ODBC bridge 1 Sun provides a JDBC-ODBC Bridge driver: sun.jdbc.odbc.JdbcOdbcDriver. This driver is native code and not Java, and is closed source. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 43
  • JDBC driver - Type 1 Driver - JDBC-ODBC bridge 1 It may sometimes be the case that more than one JDBC driver is capable of connecting to a given URL. For example, when connecting to a given remote database, it might be possible to use a JDBC-ODBC bridge driver, a JDBC-to-generic-network-protocol driver, or a driver supplied by the database vendor. In such cases, the order in which the drivers are tested is significant because the DriverManager will use the first driver it finds that can successfully connect to the given URL. https://store.theartofservice.com/itil-2011-foundation-complete-certification-kit-fourth-edition-study-guide-ebook-and-online-course.html
  • Slide 44
  • For More Information, Visit: https://store.theartofservice.co m/itil-2011-foundation- complete-certification-kit- fourth-edition-study-guide- ebook-and-online-course.html https://store.theartofservice.co m/itil-2011-foundation- complete-certification-kit- fourth-edition-study-guide- ebook-and-online-course.html The Art of Service https://store.theartofservice.com