I have excel records that get updated everyday at the other department.I would like to use sql server 2008 to query that record. How would I do that? I tried using linked server in object explorer, but did not work.Could I be helped on this. I would appreciate any suggestion.
Thanks for your answers and links. I went through them and could not figure it out. Probably I did not make it clear. I have Excel 2007 and 2003 databases. they have 20 Columns and 20,000 rows. Each column is unique. I need to run a query using SQL Server 2008 management studio and get a report out of that excel file. I know how to import that excel file and make a SQL table (using import export functionality) . As this table gets updated everyday with 100's rows, I have to import into sql table everyday if I do this way. This file is owned by other department and I need to review the status of work. I just needed to save a query and run it and view the result. Could there be any possible way to do that?
Thanks everyone for your help. I finally got the solution. Visakh and madhivanan, both of yours suggestions were really helpful but completely not enough. If your database is 64 bit sql server then the above process not gonna work coz Microsoft jet OLEDB 4 engine cannot work with 64 bit. So, I installed one more instance of SQL server 2005 express edition on my local machine.