
32
Chapter 3: Database Fundamentals
Understanding database basics
Even though you do not need a thorough understanding of database management systems to
create ColdFusion applications, you must understand some basic concepts and techniques about
databases. The information in this chapter will get you started with ColdFusion.
What is a relational database?
A
relational database
is a structured collection of information that is related to a particular subject
or purpose, such as an inventory database or a human resources database. You use databases to
manage information. Information, such as product name, cost, and on-hand inventory, is stored
in a database. Within the database, you organize the data into storage containers called tables.
Tables
are made up of columns and rows. Columns represent individual
fields
in a table. Rows
represent
records
of data in a table. You can think of database tables as grids, as in the following
example:
Each field in the table contains one piece of information. In an employee table, for example, one
column contains the employee name, another contains the employee phone number, and the
address, city, state, zip, and salary are all stored in their own columns. Each record represents one
set of related information. For example, an employee table might store information about one
employee per row. The number of rows in a table represents the total number of table records.
Field (column)
Record
(row)
Summary of Contents for COLDFUSION MX 61-GETTING STARTED BUILDING COLDFUSION...
Page 1: ...Getting Started Building ColdFusion MX Applications...
Page 6: ...6 Contents...
Page 10: ......
Page 30: ...30 Chapter 2 CFML Basics...
Page 36: ...36 Chapter 3 Database Fundamentals...
Page 48: ......
Page 76: ...76 Chapter 6 Lesson 2 Writing Your First ColdFusion Application...
Page 134: ...134 Index...