SunRocket, Inc. Affordable Web: Coldfusion ODBC DSNLess Connections:

Coldfusion ODBC DSNLess Connections:

I found this list of dsnless connections that i could use with ignite fusion or coldfusion so i posted them here to so i could find them easyly. Dsnless connections will not work with coldfusion MX7

<cfset request.connect="Driver={SQL Server};Server=MIKES;Database=HTdb_Data;Uid=mike;Pwd=7877;">



"<cfquery name="qry_name" maxrows="20" dbtype="dynamic" connectstring="#request.connect#"> "
Select
*
from PRODUCTS_T
where CurrentStockLevel_SI >=1
</cfquery>






ODBC DSNLess Connections:

MS Access ODBC DSNless connection

Driver={Microsoft Access Driver (*.mdb)};Dbq=c:\somepath\dbname.mdb;Uid=Admin;Pwd=pass;



dBase ODBC DSNless connection

Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=c:\somepath\dbname.dbf;

Oracle ODBC DSNless connection

Driver={Microsoft ODBC for Oracle};Server=OracleServer.world;Uid=admin;Pwd=pass;

MS SQL Server DSNless connection

Driver={SQL Server};Server=servername;Database=dbname;Uid=sa;Pwd=pass;

MS Text Driver DSNless connection

Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:\somepath\;Extensions=asc,csv,tab,txt;Persist Security Info=False;

Visual Foxpro DSNless connection

Driver={Microsoft Visual FoxPro Driver};SourceType=DBC;SourceDB=c:\somepath\dbname.dbc;Exclusive=No;

MySQL DSNless connection

driver={mysql}; database=yourdatabase;server=yourserver;uid=username;pwd=password;option=16386;

Comments
BlogCFC was created by Raymond Camden. This blog is running version 5.5.003.