C
3
H A P T E R
Querying a Database
Chapter 3
This chapter describes how to retrieve data from a database, work with query data,
and enable debugging in ColdFusion applications. You will learn how to use the
ColdFusion Administrator to set up a data source and enable debugging, use the
CFQUERY tag to query a data source, and use the CFOUTPUT tag to output the query
results to a Web page.
Contents
•
•
•
•
•
•
•
•
•
Database Basics................................................................................................ 16
Adding Data Sources........................................................................................ 19
Retrieving Data................................................................................................. 20
Writing SQL....................................................................................................... 21
Building Queries............................................................................................... 24
Outputting Query Data.................................................................................... 25
Need help?
Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?