Datasheet
TIP The Import Spreadsheet Wizard attempts to make an educated guess as
to what data type to set for each column. Still, it is a good idea to check the
data type of each column after importing the data, because you may need to
make some changes.
Importing data from text files
Similar to importing data from spreadsheets, the data in text files must be in a
consistent format in order for the wizard to extract the information correctly.
Typically, the data in text files is delimited (separated) by commas. Access will
properly interpret this and separate the data located between the commas into
their appropriate fields. Usually someone in I.T. will prepare a text file of data
for the analyst, or it can be an output of a mainframe application.
The Relational Database Concept
A relational database is a database that is structured around shared attributes
between two or more datasets. In a relational database, data is stored in tables
based on logical characteristics to minimize redundancy and to improve data
integrity. Access is a relational database. If you want to understand just how
Access works, you need to understand the relational database concept.
Excel and the flat-file format
The term flat file is used to describe a single table that has a two-dimensional
structure consisting of rows and columns. Although flat files are generally
easy to use and understand, they contain lots of redundant data and virtually
no inherent mechanisms to protect data integrity. When you are working with
data in an Excel file, you are working with a flat file.
Some data analysis scenarios are not terribly complex, which means that a
flat-file representation of the data to be analyzed is adequate. However, most
data-analysis scenarios require analyzing data that is much more multi-
dimensional. One of the main reasons the flat file can prove inadequate is that
it is two-dimensional. Real-world business data rarely falls into a convenient,
two-dimensional format. Of course, it can be forced into that format by the
Excel guru who wants all analysis to fit into the spreadsheet. Take a look at a
typical example of a flat file. Figure 1-11 shows a typical flat-file list of invoices.
Access Basics 19
05_59978X ch01.qxp 12/1/05 7:46 PM Page 19