ODBC

You can quickly import data from your ODBC Database Connection into Exploratory.

1. Install ODBC Drivers and Set Up Data Source Name (DSN)

First, install ODBC Drivers and set up Data Source Name (DSN) for the database you want to connect Exploratory to. Following are instructions to create ODBC DSN for some of the types of databases we verified that they work.

2. Create a Connection to use

Select the "Data Connection" menu from the menu right next to the project name.

Click the "Add" button.

Select the "ODBC" icon.

Select the DSN created at Step 1 and click the Test and make sure it works. For Mac, we support both iODBC based and unixODBC based ODBC Drivers and DSN.

Click the "Add" button to save the connection.

3. Open ODBC Import dialog

Click '+' button next to 'Data Frames' and select 'Database Data'.

Click ODBC to select.

4. Preview and Import

Click Preview button to see the data from your ODBC database connection.

If it looks ok, then you can click 'Import' to import the data into Exploratory.

5. Using Parameters in SQL

First, click a parameter link on the SQL Data Import Dialog.

Second, define a parameter and click Save button.

Finally, you can use @{} to surround a variable name inside the query like below.

select *
from airline_2016_01
where carrier = @{carrier}

If you type @ then it suggests parameters like below.

Here's a blog post for more detail.

6. Number of rows

From performance point of view, we no longer show actual number of rows which can be only fetched by executing whole query again.

If you still want to show the actual number of query for your query, you can do so by setting System Configuration.

Then set "Yes" For "Show Actual Number of Rows on SQL Data Import Dialog"

This will show you Actual Number of Rows like below.

7. Known Issues

Last updated