Practicing SQL with Excel?

  • Thread starter Thread starter J_J
  • Start date Start date
J

J_J

Hi,
I am sorry if my question may look like a bit off-topic but,
are there excel tools or utils that I can try some SQL commans or codes?
Regards
 
I think it depends on the Excel version your using, but I think the
recent incarnations (2000 onwards) have native SQL support. Think of
Mail Merge in Word, it applies SQL queries to get the database
information from a simple table in Excel.

Anyway, read the help file.
 
Hi

"Query" is a very good old tool. Start it from Excel with menu Data > Get
external data > New database query.

HTH. Best wishes Harald
 
Harald's correct, you can use MS Query to execute SQL commands that bring
data from databases into Excel. The actual menu items differ according to
which version of Excel you have, but the capability goes back to Excel 97.

You do need to have installed MS Query at the time you installed Excel.

MS Query lets you select database fields and some simple table links, and
offers a very basic way to specify record selection criteria. If you need
something more sophisticated, build your query or stored procedure in your
DBMS and point MS Query at that.

BTW, your question isn't off-topic. There's another newsgroup,
microsoft.public.excel.querydao, which might have focused on your question,
but the ng gets very little traffic. Why microsoft.public.excel.queryado
[sic] hasn't been set up is a mystery to me.
 
You do need to have installed MS Query at the time you installed Excel.

Doh, that's right, thanks Conrad. I don't remember if Quesy is default
"install on first use" or something even worse. Office installation CDs may
be required.
BTW, your question isn't off-topic.

Ditto that, SQL is essential for data work and has lots to do with Excel.

Best wishes Harald
 
Thank you both...Harald and Conrad.

Harald Staff said:
Doh, that's right, thanks Conrad. I don't remember if Quesy is default
"install on first use" or something even worse. Office installation CDs
may
be required.


Ditto that, SQL is essential for data work and has lots to do with Excel.

Best wishes Harald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top