Chapter 33. Using Microsoft Query with External Database Files

<feature><title>In This Chapter</title> </feature>

Excel has some great analysis and presentation tools, but these tools require data. In many cases, the data that you need is available in an external database. For example, your company may have a database that contains customer information, sales data, and so on. This chapter is an introduction to retrieving data from external database files for use in Excel.

Understanding External Database Files

When you work with an Excel workbook, the entire workbook must be loaded into memory before you can begin working. Although loading all the data provides you with immediate access to the entire file and all the data it contains, it also means that you can’t work with extremely large amounts of data. Although Excel 2007 supports more than a million rows, actually using that many rows can slow your system to a crawl—even if your system has plenty of memory.

When you access an external database file using Excel, you can perform a query to load just a subset of the data into your workbook.

Accessing external database files from Excel is useful in the following situations:

  • You need to work with a subset of a very large database.

  • You share the database with others; that is, other users have access to the database and may need to work with the data at the same time.

  • The database is in ...

Get Excel® 2007 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.