SQL Server Management Studio

Microsoft Dynamics GP 2013 runs on SQL Server 2008 SP3 or later and SQL Server 2012. Some companies, in particular those with advanced users, allow read-only access to Microsoft SQL Server to make it easy for users to get just the data they want. Often this access is provided through the SQL Server Management Studio. Management Studio makes it easy to get data from GP 2013 to Microsoft Excel.

To see how easy this is:

  1. Open SQL Server Management Studio.
  2. Connect to the SQL Server instance with Dynamics GP 2013 installed using either Windows Authentication or SQL Server Authentication with a user ID and password. If you have access to SQL Server Management Studio, the login method and credentials will be provided by your database administrator. The user's GP login cannot be used.
  3. Select New Query.
  4. In the large, white box on the right type Use TWO and hit Enter to select the sample TWO database.
  5. Type Select * from AccountSummary and click Execute to run the SQL query. The results will appear below the query:
    SQL Server Management Studio
  6. Choose Edit | Select All from the menu to highlight all of the results.
  7. Choose Edit | Copy with Headers.
  8. Open a blank Excel 2013 sheet. On the Home tab, click on the Paste icon in the upper-left to paste the data to Microsoft Excel:
    SQL Server Management Studio

    Tip

    There is a setting in SQL server that will export headers when copying, even if you forget to pick Copy with Headers. The setting is found in Tools | Options | Query Results | SQL Server | Results To Grid. To activate it, check Include column headers when copying or saving results.