Importing Data Using the Sample .UDL File

About this task

With the sample universal data link (.UDL) file, you can specify the connection information so that Excel can connect to the tables in Historian OLE DB Provider and import data using the default server and the currently logged-in user.

Procedure

  1. Open Microsoft Excel.
  2. From the Data menu, select Import External Data, and then select Import Data.
    The Select Data Source dialog box appears.
  3. Select the Historian.udl file in the Historian\Samples\Excel folder, and then click Open.
    The Select Table dialog box appears.
  4. Click the table that you want to query, and then click OK.
    The Import Data dialog box appears.
    Note: If you want to run a SQL command instead of the default table command setting, refer to Edit SQL Queries in Excel.
  5. Click OK to import the column data from the selected table.
    Historian data populates the current spreadsheet.