Learn more about Toad for SQL Server
at Dell Software

Find solutions and downloads at the
Toad for SQL Server Support Portal

Toad for SQL Server 6.6

You are here: Work with Data > Export Data with One Click Export > Share Excel Linked Queries

Share Excel Linked Queries

You can use linked queries to create "live" Excel reports that can be refreshed dynamically. Because a linked query contains the underlying SQL for a report, each time you refresh the report the query is executed and the latest data is retrieved. The dynamic nature of linked query reports makes them ideal for distribution to users who need to see changes to data without waiting for scheduled updates or for new reports to be distributed.  

Notes:  

Scenario

You need to create an Excel linked query so that the Regional Sales Manager, can track whether the Sales Representatives in his region meet their monthly and quarterly goals. By providing a linked query, you only have to create the query once, and then the Regional Sales Manager can refresh the data at any time to view the latest sales information.

To create an Excel linked query

  1. Connect to the database.
  2. Create a query in the Query Builder or Editor.
  3. Execute the query to display data results.
  4. Select the result set and click one of the following options from the toolbar:

  5. Save the Excel spreadsheet.
  6. Email or upload the spreadsheet to a shared network folder to share it with colleagues.

To refresh data in an Excel linked query

  1. Open the spreadsheet with the linked query in Excel. The original data from the query displays.
  2. In Excel, select Data | Refresh to update the original data with the current data.
  3. If prompted, enter a user name and password to connect to the database and refresh the data.

    or

    If the following error displays: "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified", you must specify the DSN used by the query on your computer. Complete the following steps to resolve this issue:

 

of