Solved

Excel ODBC Driver

Posted on 2012-04-08
3
634 Views
Last Modified: 2012-06-21
I want to be able to sort through an Excel/CSV file using SQL commands. Is there any way that I can do that?
0
Comment
Question by:pzkhan
[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
3 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 37822142
If SQL Server is 32 bit you can use the JET driver and specifically OPENROWSET()
0
 
LVL 42

Assisted Solution

by:dlmille
dlmille earned 250 total points
ID: 37822159
Yes, using VBA you can adapt the following to sort through a CSV file:

http://vbadud.blogspot.com/2008/09/opening-comma-separate-file-csv-through.html

And, you can adapt the following to sort through an Excel file:

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

Here's another good link I use as a ready reference:
http://www.erlandsendata.no/english/index.php?t=envbadac

If you need further assistance, please don't hesitate to ask.

Dave
0
 
LVL 9

Accepted Solution

by:
Anthony Mellor earned 250 total points
ID: 37834761
you can also do it with MS Query and also Powerpivot (SQL is within)

ps your version of Excel is highly relevant.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

628 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