Lesson 2 - Querying for Data Before beginning Lesson 2 you should read the overview of DBML (Database Markup Language) provided in the Cold Fusion User Guide.
In addition, if you don't have any previous experience with SQL you should review the Introduction to SQL.
In the example below Cold Fusion is called when the user clicks on the "Show All Courses" link. The URL contains a Template parameter which indicates that Cold Fusion should use the DBML template file '/cfstand/tutorial/steb2b.dbm' to process the request:
<A HREF="/~wsapi/cfusion?Template=/cfstand/tutorial/step2b.dbm">
Show All Courses</A>
Go ahead and try clicking the link now. The list of courses will be returned to you along with an explanation of how Cold Fusion used the 'step2b.dbm' template file to generate the output.
[ Show All Courses ]