Skip to main content

Connecting to database with ODBC

Configuring the ODBC Driver​

First, download and install the ODBC Driver for your database.

Then, create a User or System DSN (data source name).

To do this, open Control Panel, access Administrative Tools, then open either ODBC Data Sources (64-bit) or ODBC Data Sources (32-bit).

Click the User or System DSN tab, then click add.

Connection with ODBC

Select a driver and configure DSN.

Connection with ODBC

Importing Metadata in Dataedo Portal​

Entry point​

To start the Metadata Import flow, make sure you have the Connection Manager role. Go to Connections and click Add connection, then pick ODBC from the connector list to open the import wizard described in the following steps.

Add connection

Step 1. Host details​

Provide the name of the Connection, an optional description, and tell Dataedo how to reach the driver:

  • Agent - the Agent that runs the task. Unlike other connectors, ODBC asks for this on the main form rather than under Advanced settings, because the DSN and driver must be installed on that machine.
  • System DSN (optional) - the system DSN configured on the Agent's machine; see Configuring the ODBC Driver above. The driver name is shown next to it.
  • Connection string - the ODBC connection string. Use it instead of, or in addition to, a DSN. The value is masked once entered.
info

A Connection in Dataedo represents a saved configuration for accessing a data source.
It can be reused for future imports and scheduling.

Host details

Advanced settings is optional — you can leave it collapsed and the connection will run with the global timeouts. Expand it if you want to override the task timeouts. For this connector, you set the agent on the main form instead.

Step 2. Objects to import​

Dataedo reads the database through the driver and lists the schemas it found. For each schema, you can choose which object types to import - Tables, Views, Procedures and Functions. Select Future Schemas to include schemas created after this import as well.

Objects to import

Use Advanced filters to include or exclude objects with schema patterns, name patterns and object types instead.

Advanced filters

Step 3. Schedule​

Configure the Metadata Import task for the source:

  • choose the metadata extraction options (Append only, Reimport all included objects)
  • run daily, on selected weekdays, or on specific days of the month
  • choose an exact time of execution
  • Task state:
    • Active - the task will run as scheduled
    • Draft - the task is saved but not executed until you switch it to Active
  • Run Immediately - when checked, the task will also be executed right after you click Create connection
Add Import Metadata task

Once saved, the task appears next to its source in the schedule list.

Schedule with a defined task
caution

You must configure at least one import task in the schedule section.
If you skip this, an empty database will be created and no metadata will be imported.


Importing Metadata in Dataedo Desktop​

Connect to database with ODBC​

Create new documentation by clicking Add documentation and choosing Database connection.

Connection with ODBC

In the DBMS field, select Other (ODBC connection).

Connection with ODBC

Select and choose the DSN you created and click connect.

Connection with ODBC

Importing schema​

If the connection is successful, Dataedo will show a list of objects from the database. You can choose which objects to import.

Confirm the selection by clicking Next.

You can now change the name of your documentation.

Click Import to start the import, and when it ends, close the window with the Finish button.

Your database schema has been imported to new documentation in the repository.

List of ODBC Drivers​

We have tested and successfully connected to and imported metadata from databases with the ODBC drivers listed below. It is highly likely it will work with other drivers as well.

Amazon Athena​

Supported schema elements and metadata

Download Simba ODBC driver

ODBC configuration

ODBC version: Simba 1.0.3.1004 64 bit

Apache Cassandra​

Supported schema elements and metadata

Download DataStax ODBC driver

ODBC configuration

ODBC version: DataStax ODBC 2.5 64-bit

Apache Hive​

Supported schema elements and metadata

Download Hive ODBC driver

ODBC configuration

ODBC version: 2.6.1 (64 bit)

Apache Impala​

Supported schema elements and metadata

Download Impala ODBC driver

ODBC configuration

ODBC version: 2.6.4 (64 bit)

Google BigQuery​

Supported schema elements and metadata

Download ODBC driver

ODBC configuration

ODBC version: 2.1.20.1025 64 bit

IBM Db2 for iSeries (Db2 for IBM i)​

Supported schema elements and metadata

Download IBM Db2 ODBC driver

ODBC configuration

ODBC version: 11.01.2021.1452

Microsoft Access​

Supported schema elements and metadata

ODBC configuration

ODBC version: Microsoft Access Driver 64 bit

Microsoft Dynamics 365​

Supported schema elements and metadata

Download ODBC driver

ODBC configuration

ODBC version: Devart for Dynamics CRM 1.6.11 64 bit

Microsoft Dynamics 365 version: 9.1

SAP ASE (Sybase)​

Supported schema elements and metadata

Download Devart for ASE ODBC driver

ODBC configuration

ODBC version: 1.4.8 64-bit

SAP ASE (Sybase) version: 16.0

SAP Hana​

Supported schema elements and metadata

The driver is installed as part of the SAP HANA client installation.

Download HDBODBC driver

ODBC configuration

ODBC version: HDBODBC 2.3.106 64 bit

SAP Hana version: 2.0 SPS03

SAP IQ​

Supported schema elements and metadata

The driver is installed as part of the SAP IQ client installation.

Download ODBC driver

ODBC configuration

SAP IQ ODBC version: SYBASE IQ 17.00.09.1031 64 bit

SAP IQ version: 16.1

Salesforce​

Supported schema elements and metadata

Download Devart for Salesforce ODBC driver

ODBC configuration

ODBC version: 1.7.16 64-bit

Salesforce version: Professional Edition

SQLite​

Supported schema elements and metadata

Download SQLlite ODBC driver

ODBC configuration

ODBC version: 64 bit

SQLite version: 3.26.0

Teradata​

Supported schema elements and metadata:

  • Tables
    • Columns
      • Data type with length
      • Nullable
      • Default value
      • Generated column formula
    • Primary keys
      • Columns
    • Unique indexes
      • Columns
    • Foreign keys
      • Columns
    • Triggers
      • When triggered
      • Script
  • Views
    • Columns (see tables)
    • Script
  • Procedures
    • Script (SQL procedures only)
    • Parameters
  • Functions
    • Script (SQL functions only)
    • Parameters
    • Returned values

Download Teradata ODBC driver

ODBC configuration

ODBC version: 16.20 64-bit

Teradata version: 16.20

Vertica​

Supported schema elements and metadata

Download Vertica ODBC driver

ODBC configuration

ODBC version: 9.2.x 64-bit

Vertica version: 9.0.1-5

Dataedo is an end-to-end data governance solution for mid-sized organizations.
Data Lineage • Data Quality • Data Catalog