• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Step 3. Databases and SQL > Retrieving Data

Retrieving Data

Now that we have set up our data source connection, we can begin using that connection to pull information from our database and publish it in our web pages. Let’s take a look at how this procedure works:

1.
We create a ColdFusion template that contains instructions (in the form of ColdFusion tags) to retrieve data from the database.

2.
When this template page is requested by a user, the ColdFusion Server software interprets these instructions.

3.
ColdFusion Server then interrogates the database for the appropriate information.

4.
The database responds with a recordset of data.

5.
ColdFusion Server creates an HTML document containing the newly retrieved information and sends it back to the user.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint