150 likes | 429 Views
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.)
E N D
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 – 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 – 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 - 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 - 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 - 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 - 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 - 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 – 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 - 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)