1 / 10

1- What is ODBC and why was it created?

1- What is ODBC and why was it created?. Open Database Connectivity, to provide a DBMS-independent means for processing relational database data. (M.R.)

hogan
Télécharger la présentation

1- What is ODBC and why was it created?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 1- What is ODBC and why was it created? • Open Database Connectivity, to provide a DBMS-independent means for processing relational database data. (M.R.) • … was created by Microsoft so programmers could have one standard way to connect to any db type that has an ODBC driver. Used for relational databases… Can use a relational DB, a file server, or a spreadsheet for a data source. (Section2)

  2. 2 – What is OLE DB & why was it created? • Object-oriented interface that encapsulates data-server functionality, developed to overcome the disadvantages of ODBC and table-like data sources; provides an object-oriented interface to all sorts of data types. (E.W.) • Provides object-oriented interface to data of almost any type. Made to interface ODBC data sources, also to put DBMS native libraries in OLE DB objects to expose their products’ functionality. (A.R.)

  3. 3 – What is ADO and why was it designed? • Active Data Objects; is the standard in providing easier access to a simple object model that can be used by data consumers to process and OLE DB data. (D.N.) (it is a cover over OLE DB objects, enables programmers in almost any language to access OLE DB functionality.) • Active Data Object, designed to provide access to OLE DB for the non-object oriented programmer (R.O.)

  4. 4 - Why do we focus on Microsoft standards? • Because they have the monopolistic market share of the desktop environment. (D.H.) • Both OLE DB and ADO developed & promoted by Microsoft. Because it is on ~90 % of desktops, opposing standards difficult to promote • A large percentage of systems run Microsoft products, so we have to follow Microsoft’s standards. (B.L.)

  5. 5 - What are the 4 components of the ODBC standard? • Application program, ODBC driver manager, vendor supplied DBMS drivers, the data source(R.K.) (R.O.)

  6. 6 - What does the ODBC driver manager do? • Servers an intermediary between the application and DBMS drivers. When the application requests a connection, the driver manager determines the type of DBMS that processes the given data source and loads that driver in memory. (C.H.) • For Windows, Microsoft provides the driver manager • … serves as an intermediary between the application and the DBMS drivers. (A.R.)

  7. 7 - What does the DBMS driver do? • Processes ODBC requests & submits specific SQL statements to a given type of data source. (N.T.) (B.L.) • There’s a different driver for each data source type. Drivers are supplied by DBMS vendors & software companies.

  8. 8 - What is a single tier driver? • Database driver that accepts SQL statements from the driver manager & process them without invoking another program or DBMS; used for file-processing systems. (R.W.) • Processes both ODBC calls & SQL statements.

  9. 9 – What are the three data sources types and how are they different? • File data source: file that can be shared among database users who have the same DBMS driver & privilege to access the DB • System data source: file that is local to a single computer. The OS & any user on that system with privileges can use it. • User data sources: file that is available only to the user who created it (C.A.)(L.S.)

  10. 10 - Which data source type is recommended for Web Servers? • System Data Source created on the Web server. Browsers then access the Web server, which used the system data source to set up a connection with the DBMS and the DB (S.S)

More Related