
Chapter 3
Querying a Database
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
•
Publishing Dynamic Data......................................................................................... 18
•
Understanding Database Basics .............................................................................. 19
•
Understanding Data Sources ................................................................................... 20
•
Accessing Data Sources ............................................................................................ 21
•
Retrieving Data .......................................................................................................... 25
•
Writing SQL................................................................................................................ 26
•
Building Queries........................................................................................................ 28
•
Outputting Query Data ............................................................................................. 30
•
Getting Information About Query Results .............................................................. 32
•
Using Query Results in Queries................................................................................ 34
Содержание COLDFUSION 5-DEVELOPING
Страница 1: ...Macromedia Incorporated Developing ColdFusion Applications MacroMedia ColdFusion 5 ...
Страница 58: ...38 Chapter 3 Querying a Database ...
Страница 134: ...114 Chapter 7 Updating Your Database ...
Страница 210: ...190 Chapter 10 Reusing Code ...
Страница 232: ...212 Chapter 11 Preventing and Handling Errors ...
Страница 238: ...218 Chapter 12 Using the Application Framework ...
Страница 262: ...242 Chapter 12 Using the Application Framework ...
Страница 278: ...258 Chapter 13 Extending ColdFusion Pages with CFML Scripting ...
Страница 320: ...300 Chapter 15 Indexing and Searching Data ...
Страница 336: ...316 Chapter 16 Sending and Receiving E mail ...
Страница 374: ...354 Chapter 18 Interacting with Remote Servers ...