ODBC Driver for QuickBooks Desktop

Connecting SQL Server Management Studio to QuickBooks Desktop via ODBC Driver



Why use a linked server?

You can use Microsoft SQL Server Management Studio (SSMS) to connect your QuickBooks Desktop data to a SQL Server instance. A linked server is a feature in SQL Server that enables execution of distributed queries across different data sources, including non-SQL Server databases. It allows you to reference external tables—such as those from QuickBooks Desktop—within a single SQL query. With linked servers, you can run commands across different data platforms and integrate them seamlessly with your SQL Server environment. A linked server can be created either through the Object Explorer interface or by executing T-SQL stored procedures.

Key advantages of using linked servers with QuickBooks Desktop:

Requirements

To ensure proper integration with Microsoft SQL Server Management Studio (SSMS), the working environment must meet the following conditions:

Set up a SQL Server user account to connect to QuickBooks Desktop

You can configure a user to run under a specific account in two different ways:

After configuring a user account, click OK to confirm your changes. Then restart the SQL Server service.

Retrieve data from QuickBooks Desktop

  1. Open QuickBooks files.
  2. Configure a Data Source Name (DSN) for the QuickBooks file.
  3. Open ODBC Data Sources. In the ODBC Data Source Administrator dialog, navigate to the System DSN tab and click Add. In the Create New Data Source dialog, select Devart ODBC Driver for QuickBooks Desktop as the driver for which you want to set up a data source and click Finish.

    Configure the system Data Source Name (DSN)

    Next, specify a Data Source Name and set a path to the QuickBooks file you want to use. Click OK to continue.

    Configure the system Data Source Name (DSN)

    Don't click Test Connection at this stage.

    As a result, the data source is added. Click OK to save the configuration and close the dialog.

    Added a Data Source Name (DSN)
  4. Define MSDASQL properties.
  5. Run SSMS as an administrator and connect to the server using your local user account. In the Object Explorer, navigate to Server Objects > Linked Servers > Providers > MSDASQL. Then, right-click the MSDASQL provider and select Properties from the menu. In the Provider Options dialog, clear the Allow inprocess checkbox. Click OK to apply the changes.

    MSDASQL provider properties
  6. Create a linked server with the preconfigured DSN.
  7. In the Object Explorer, navigate to Server Objects. Right-click Linked Servers and select New Linked Server from the menu. In the New Linked Server dialog, fill in the fields:

    New Linked Server properties

    Click OK. In the Application permission dialog that appears in QuickBooks Desktop, define the permission levels for ODBC Driver for QuickBooks Desktop to access the QuickBooks company file. Then, click Continue.

    Define permission levels

    In the Object Explorer, navigate to Server Objects > Linked Servers and select the newly created linked server. Expand the node, then navigate to Catalogs > default > Tables, and execute the following query:

    SELECT * FROM [linked_server_name].[default]..[Account] 
    GO 
    Linked Server created

    Successful execution confirms that the linked server has been added and is functioning correctly.


© 2015-2026 Devart. All Rights Reserved. Request Support ODBC Forum Provide Feedback