[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

SQL query Excel sheet

Posted on 2009-04-10
3
Medium Priority
?
392 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 90 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

656 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