Previous Page | Next Page

Overview of Common Data Sources

Relational Database Sources


SAS/ACCESS

Data also can be stored in third-party hierarchical and relational databases such as DB2, Oracle, SQL Server, and Teradata. SAS/ACCESS interfaces provide fast, efficient reading and writing of data to these facilities.

Several of the SAS/ACCESS engines support threaded reads. This enables you to read entire blocks of data on multiple threads instead of reading data just one record at a time. This feature can reduce I/O bottlenecks and enables thread-enabled procedures to read data quickly. These engines and DB2 on z/OS also have the ability to access database management system (DBMS) data in parallel by using multiple threads to the parallel DBMS server.

The following SAS/ACCESS engines support this functionality:

For more information about using the SAS/ACCESS interfaces, see SAS/ACCESS for Relational Databases: Reference. The following figure shows how connectivity to Oracle databases is configured:

Establishing Connectivity to Oracle Databases

[Establishing Connectivity to Oracle Databases]

For a detailed example of an Oracle connection, see Establishing Connectivity to an Oracle Database.


ODBC Sources

Open database connectivity (ODBC) standards provide a common interface to a variety of databases such as DB2, Microsoft Access, Oracle, and Microsoft SQL Server databases. Specifically, ODBC standards define application programming interfaces (APIs) that enable an application to access a database if the ODBC driver complies with the specification.

Note:   If a SAS/ACCESS engine is available for a database, then performance is better with the SAS/ACCESS engine rather than with the ODBC interface.  [cautionend]

The basic components and features of ODBC include the following:

The following figure shows how ODBC is used to establish connectivity to Oracle databases:

Establishing Connectivity to Oracle Databases by Using ODBC

[Establishing Connectivity to Oracle Databases by Using ODBC]

For a detailed example of an ODBC-based Oracle connection, see Establishing Connectivity to an Oracle Database by Using ODBC. The following figure shows how ODBC is used to establish connectivity to Access databases:

Establishing Connectivity to Access Databases by Using ODBC

[Establishing Connectivity to Access Databases by Using ODBC]

For a detailed example of an ODBC-based Access connection, see Establishing Connectivity to a Microsoft Access Database by Using ODBC.

Previous Page | Next Page | Top of Page