Cold Fusion Datasource Help
The datasource is simply a name that you use to refer to your database. On a local machine you set it up thru the control panel|ODBC. Your provider (host) should have a link in their control panel which would be something like "Create DSN." You provide the datasource name "mydatabase" and the physical path "C:\inetpub\wwwroot\mydatabase.mdb."
In Coldfusion you refer to the datasource as follows:
<cfquery datasource="mydatabase" name="getinfo">
</cfquery>
__________________
Foye M Troute
Internet Consultant/Developer
|