Import wizard to import Microsoft Excel 2007 file to SQL Server 2005

Currently I have been using Microsoft Excel 2003 at my work and I am importing the data from Excel file to SQL Server 2005 database by using the import wizard where I choose Excel as the data source. However, I am planning to upgrade the Excel to 2007 version. How would I import Excel 2007 into SQL Server? Can someone walk me through.

Secondly, would all my SSIS break (in case the Excel files are upgraded to 2007, i.e .doc to .docx) where I am using the script task and VB.NET to access the Excel with a code something like this:

SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=" + filename + "', 'SELECT * FROM [" + SheetName + "$]')

Who is Participating?
lcohanConnect With a Mentor Database AnalystCommented:
Well good luck with that....just because it is not quite possible by using default SQL 2005 installs I gave an option. You must upgrade to SQL 2008 if you really need to do that via import task or SSIS.!22A79FCE82651673!588.entry
You might be able to just change "Excel 8.0" to "Excel 12.0"

You might also need to switch from using Jet to ACE... I don't belive Jet supports Excel 2007.

skaleem1Author Commented:
In SQL Sever 2005 Import wizard, the only option is for Excel 2003 or older versions.
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

lcohanDatabase AnalystCommented:
Did you tried to inport the EXCEL into SQL by scrip instead?

Is pretty easy to do: Q306397 HOWTO: Use Excel with SQL Server Linked Servers and Distributed Queries

lcohanDatabase AnalystCommented:
For XLSX you should be able to use the process described at:

worked for me...
skaleem1Author Commented:

I appreciate your help and the links are helpful however I want to know how to import data from Excel  2007 file to SQL Server 2005 database by using the import wizard manually. Can you shed light please.

skaleem1Author Commented:
Thanks, I have a workaround and I am saving the spreadsheet in the compatibility mode with the previous version (97-2003) until I change all my queries to use the Excel 12 driver.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.