Ask a Question related to Coldfusion Database Access, Design and Development.
-
Juliano Nunes #1
Connect to a MS Access or MS SQL Server database
How can i connect and perform select, insert, update and delete commands to an Access or SQL Server database without using ODBC DSNs?
Juliano Nunes Guest
-
Connect to an Access database using DSN (in PHP)
Hi all I'm wondering connect a Access db as easy as to a MySQL, using Windows|Database|Add connection. But this seems not working. I'm... -
help! i can't connect to my Access database.
I have been trying to set up my Microsoft Access database as a datasource (locally on my computer). I've given it a data source name, and... -
How to use “RDS.Connect” to connect to a MS Access database?
The example I am working from uses the following code which does not work: RDS.Connect = "Provider='sqloledb';Integrated Security='SSPI';Initial ... -
Error while trying to connect to Access database within ASP
I am getting an error message while trying to connect to an Access database within ASP. This error only occurs on my notebook computer and not on my... -
how can i connect with an access database
i need to work with an mdb file which contains a lot of data that might be change a lot of times and must stay an mdb file (so i cant make this file... -
BKBK #2
Re: Connect to a MS Access or MS SQL Server database
Register your [url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001254.htm[/url]
, like
<cfquery name="myQuery" datasource="myDatasourceName">
select * from myTable;
</cfquery>
BKBK Guest
-
mxstu #3
Re: Connect to a MS Access or MS SQL Server database
What do you mean "without using ODBC DSNs"? Do you mean using JDBC instead of
ODBC? Or are you talking about DSN-less connections? I think CF5 used to offer
the "connectString" attribute, which allowed DSN-less connections, but I don't
think that is supported in MX6/7. You must register a DSN in the CF
Administrator (as BKBK mentioned), or with MX7 you can create one using the
Admin API. There may be a partial workaround for Access databases, but it
would help if you tell us what you're trying to do.
mxstu Guest



Reply With Quote

