Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel ODBC Driver

Posted on 2012-04-08
3
Medium Priority
?
640 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
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 1000 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 1000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

876 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