Importing from an ODBC-compliant data source

Objectives

About ODBC

Open DataBase Connectivity (ODBC) is a standard database access method developed by the SQL Access group. ODBC was developed to allow access to any data from any application, regardless of which database management system (DBMS) is handling the data. ODBC achieves this by inserting a middle layer, called a database driver, between an application and the DBMS. This middle layer translates the application’s data queries into commands that the DBMS understands.

For this to work, both the application and the DBMS must be ODBC-compliant - that is, the application must be able to issue ODBC commands and the DBMS must be able to respond to them. Analytics is ODBC-compliant. To use it on a DBMS that is also ODBC-compliant, an ODBC driver is required.

Setting up an ODBC Driver

An ODBC Driver needs to be setup on the same computer that is running Analytics. This is a one-time setup, typically done by IT personnel. Installed ODBC drivers can be found in the Windows Control Panel under Administrative Tools > Data Sources (ODBC).

Note

Some databases will have restricted access, in which case you’ll need a user name and password to allow read-only access.

The Data Access window

The Data Access window is a component of Analytics that contains data connectors which you can use to import data to Analytics from a wide range of sources. For a complete list, see Data sources you can access with Analytics.

The Data Access window also contains features for filtering and joining tables prior to importing.

Approach

Considerations

Activity 3.5

Folder: ODBC Import

Source Database: TaftDatabase.mdb

Tables: InventoryODBC, Sales2016ODBC

From the TaftDatabase.mdb Access database, import the InventoryODBC table. While you are in the Data Access window, filter for the records that have a quantity on hand less than 100 and a product class of 02.

Advanced ODBC imports

You may have noticed a few things in the Data Access window while you were navigating the activity:

These are handy features, however are considered advanced topics - so we've put together introductory material of Advanced Importing Concepts, to get you started in the appendix.

Caution

SQL joins are different from ACL joins. So unless you're an SQL pro, maybe leave this until the end of the course.