How to Connect SQL Server Database Using Microsoft Excel


How to Connect SQL Server Database Using Microsoft Excel


1. Open Excel
2. From the Data ribbon select the button for From Other Sources and click on From SQL Server
3. From the Data Connection Wizard form enter the following details and click Next>
  • Server name: 
  • Log on credentials: Use Windows Authentication
4. From the next form enter the following details and click Next>
  • Select the database that contains the data you want: 
  • Connect to a specific table: True
  • Highlight the table required

5. From the next form you can keep all the details as they default and click Finish.

6. Excel will then prompt you for how you want to use the imported data

Comments

Popular posts from this blog

Calculating Age of the person in T-SQL

MDX Queries - Current Day - Month and Year

How to Troubleshoot Subscription issue in Reporting Services