
117
CHAPTER 10
Lesson 6: Adding and Updating SQL Data
In this lesson, you will complete the Compass Travel Trip Maintenance application. The
exercises will guide you through the steps of adding the database update logic to add new trip
offerings and update existing trips in the Compass Travel database.
This lesson explains how to do the following tasks:
•
Modify the Trip Edit page to link the add and update functions to the main application page.
•
Write code to insert new trips using SQL.
•
Write code to insert new trips without using SQL.
•
Write code to update several records in the Trips table.
ColdFusion tags and functions introduced in this lesson
The following table identifies the ColdFusion tags and functions that you use in this lesson to
enhance the ColdFusion application:
Element
Type
Description
cfinsert
Tag
Inserts records in a JDBC data source.
cfupdate
Tag
Updates a records in a JDBC data source.
Содержание COLDFUSION MX 61-GETTING STARTED BUILDING COLDFUSION...
Страница 1: ...Getting Started Building ColdFusion MX Applications...
Страница 6: ...6 Contents...
Страница 10: ......
Страница 30: ...30 Chapter 2 CFML Basics...
Страница 36: ...36 Chapter 3 Database Fundamentals...
Страница 48: ......
Страница 76: ...76 Chapter 6 Lesson 2 Writing Your First ColdFusion Application...
Страница 134: ...134 Index...