OZRiz
OZRiz

Reputation: 35

Link Excel sheet to SQL Server

Is it possible to link an Excel sheet to a SQL Server database? I want to be able to join the Excel columns to the tables in SQL Server and run queries. I can find plenty of examples to link the tables from SQL Server to Excel, but I want the other way around.

Thank you in advance for any suggestions.

Upvotes: 0

Views: 866

Answers (1)

M O'Connell
M O'Connell

Reputation: 487

Use SQL Server Import and Export Wizard.

Set your worksheet as a Data Source

Excel file path Specify the path and file name for the spreadsheet from which to import the data. For example, C:\MyData.xlsx or \Sales\Database\Northwind.xlsx. Or, click Browse.

Browse Locate the spreadsheet by using the Open dialog box.

Excel version Select the version of Excel that is used by the source workbook.

Upvotes: 1

Related Questions