Solved

SQL query Excel sheet

Posted on 2009-04-10
3
388 Views
Last Modified: 2012-05-06
Hello and how are things I am looking to find the best way to get to an excel file sheet data. I want to query this data the bets and most efficient way out there today. I have an SQL 2005 server and I want to pass from my C# 2.0 program using Application Blocks,  the Select command to query the data that is in an Excel file sheet. I know there is Jet that was used, but wonder is that the only way to do this with an OLE jet connection?

Should I maybe look at converting this to XML would that be better? Thanks :)

 
0
Comment
Question by:Corey_819
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
J_Carter earned 30 total points
ID: 24119919
you could set it up in SQL 2005 as a linked server and query it that way.

http://support.microsoft.com/kb/306397

0
 
LVL 1

Author Comment

by:Corey_819
ID: 24140850
J Carter, good idea, but sadly I have some road blocks with the SQL instance I am getting data from. Not techical, just some other things. Whats your thoughts on converting it to XML file then using XPath Query? Is that okay on performance? I am looking to use this Xpath query to do sort of an or statement so I can build my objects configuration or format.
0
 
LVL 6

Expert Comment

by:J_Carter
ID: 24143731
Sorry, not to familiar with Xpath
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question