Take the 2-minute tour ×

I have user table in my DB. I have 1 excel sheet having list of some users (not all) with changes. How can I Update the values given in excel sheet to my user table? is it possible with import data option?

share|improve this question

2 Answers 2

I only learned this in the past year. You can query an excel sheet as if it's a table. As long as your keys are also in excel you can join the excel sheet to the user table.

You can have a look at this Microsoft Article that discusses options for importing from Excel to SQL Server.


share|improve this answer
Problem is not about joining(appending), I have rows in DB table I have to update the values. the new values are in excel with same field names. –  M.S.Nayak Mar 17 '12 at 5:48
The update statement would look the same, you can just treat the excel worksheet like a table using openrowset. Here's another link that may show you in more detail: beyondrelational.com/quiz/sqlserver/tsql/2011/questions/… –  Erik Mar 19 '12 at 13:24

If you are interested, I have built an Excel to SQL Server tool where end users update their data in Excel sheets on the intranet and the application will take care of parsing the Excel spreadsheet and export the data to a SQL Server table.

I'am currently looking for feedback so I give away licenses (two end users) to people who give feedback on the product.

The tool is called SQL Spreads: www.sqlspreads.com

Regards, Johannes

share|improve this answer

Your Answer


