Accessing Data Sources
21
•
Borland dBase-compliant databases
•
Microsoft Excel worksheet data ranges
•
Borland Paradox Databases
•
Informix databases
•
Progress databases
•
Oracle 8 databases
•
Centura SQLBase databases
•
Sybase ASE databases
•
Delimited text files
You can also use any additional ODBC drivers that are installed on your system.
On UNIX, look in the ODBC page of the ColdFusion Administrator for a list of
available ODBC drivers.
A good source of information on ODBC is the ODBC Programmer’s Reference at http:/
/www.microsoft.com/data/odbc.
Accessing Data Sources
There are two ways to access data sources:
•
Add data sources in the ColdFusion Administrator.
You assign a data source name and set all the information required to establish
an ODBC connection. You then use the data source name in any CFML tags that
establish database connections. This technique puts all the information about a
ColdFusion Server’s database connections in a single, easy-to-manage location.
•
Specify the database information directly in your CFML tag.
This way you accesses the data source dynamically. It eliminates the need for you
to add a data source for each database on your server. It also allows a ColdFusion
application to run on multiple servers without having to statically configure each
server independently.
Summary of Contents for COLDFUSION 5-DEVELOPING
Page 1: ...Macromedia Incorporated Developing ColdFusion Applications MacroMedia ColdFusion 5 ...
Page 58: ...38 Chapter 3 Querying a Database ...
Page 134: ...114 Chapter 7 Updating Your Database ...
Page 210: ...190 Chapter 10 Reusing Code ...
Page 232: ...212 Chapter 11 Preventing and Handling Errors ...
Page 238: ...218 Chapter 12 Using the Application Framework ...
Page 262: ...242 Chapter 12 Using the Application Framework ...
Page 278: ...258 Chapter 13 Extending ColdFusion Pages with CFML Scripting ...
Page 320: ...300 Chapter 15 Indexing and Searching Data ...
Page 336: ...316 Chapter 16 Sending and Receiving E mail ...
Page 374: ...354 Chapter 18 Interacting with Remote Servers ...