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

1. Set up ODBC Data Source Name (DSN)

First, set up ODBC 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

Create a connection following this instruction.

3. Open ODBC Import dialog

Click '+' button next to 'Data Frames' and select 'Import 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.