Opening Data from a Database


It is recommended to use a data connection or an information link to retrieve your data rather than the data provider access described below. See Open from Database Overview for some tips on what connections to use.

  1. Select File > Add Data Tables and click Add > Database....

    Response: The Open Database dialog is displayed.

  2. Click to select SqlClient Data Provider as Data source type.

  3. Click Configure....

    Response: The Configure Data Source Connection dialog is displayed.

  4. Enter the SQL server name.

  5. Specify whether to Use Windows Authentication or Use SQL Server Authentication.

  6. If you are using SQL Server Authentication, type a Username and Password in the fields provided.

  7. If you want to connect to a remote database, Select or enter a database name.

    Comment: Select a database from the drop-down list or type the name in the field.

  8. If you instead have a local database file you want to connect to, select Attach to database file, and Browse for the local file. Type a logical name to associate with the database file.

  9. Click OK.

    Response: The Specify Tables and Columns dialog is displayed.

  10. Select the Tables, views and columns you wish to import.

    Comment: If desired you can edit the SQL statement directly, or load a previously saved SQL file with a more complex SQL statement.

  11. Click OK.

    Response: Data is loaded into Spotfire.

Note: UDL files can be opened directly using File > Open....

  1. Select File > Add Data Tables and click Add > Database....

    Response: The Open Database dialog is displayed.

  2. Click to select OleDb Data Provider as Data source type.

  3. Click Configure....

    Response: The Configure Data Source Connection dialog is displayed.

  4. Type or paste a connection line.

    Comment: This should normally be provided by your database administrator.

  5. Click OK.

    Response: The Connection string field in the Open Database dialog is updated with the information entered in the previous step.

  6. Click OK.

    Response: The Specify Tables and Columns dialog is displayed.

  7. Select the Tables, views and columns you wish to import.

    Comment: If desired you can edit the SQL statement directly, or load a previously saved SQL file with a more complex SQL statement.

  8. Click OK.

    Response: Data is loaded into Spotfire.

Note: To learn how to set up a data source, please refer to the database vendor's documentation and the Windows documentation on ODBC. It might be necessary to install ODBC driver software particular to the database used before being able to utilize the ODBC option.

  1. Select File > Add Data Tables and click Add > Database....

    Response: The Open Database dialog is displayed.

  2. Click to select Odbc Data Provider as Data source type.

  3. Click Configure....

    Response: The Configure Data Source Connection dialog is displayed.

  4. Select a System or user data source name from the drop-down list.

    Comment: The data sources available here are the ones previously defined in Windows ODBC Data Source Administrator, found under Control Panel > Administrative Tools > Data Sources (ODBC). Contact your database administrator if you are missing any information.

  5. If the data source is password protected, type a Username and Password in the fields provided.

  6. Click OK.

    Response: The Connection string field in the Open Database dialog is updated with the information entered in the previous step.

  7. Click OK.

    Response: The Specify Tables and Columns dialog is displayed.

  8. Select the Tables, views and columns you wish to import.

    Comment: If desired you can edit the SQL statement directly, or load a previously saved SQL file with a more complex SQL statement.

  9. Click OK.

    Response: Data is loaded into Spotfire.

Note: To be able to use the OracleClient data provider, you need to have Oracle Client installed on your computer.

  1. Select File > Add Data Tables and click Add > Database....

    Response: The Open Database dialog is displayed.

  2. Click to select OracleClient Data Provider as Data source type.

  3. Click Configure....

    Response: The Configure Data Source Connection dialog is displayed.

  4. Type or paste the Oracle server name.

  5. If the data source is password protected, type a Username and Password in the fields provided.

  6. Click OK.

    Response: The Connection string field in the Open Database dialog is updated with the information entered in the previous step.

  7. Click OK.

    Response: The Specify Tables and Columns dialog is displayed.

  8. Select the Tables, views and columns you wish to import.

    Comment: If desired you can edit the SQL statement directly, or load a previously saved SQL file with a more complex SQL statement.

  9. Click OK.

    Response: Data is loaded into Spotfire.

See also:

Opening an Analysis File

Opening a Text File

Opening an Excel File

Opening a SAS File

Opening Files from the Library

Opening an Information Link