Topics Search

JDBC-ODBC - Running Queries on MS Access Database

JDBC-ODBC - Running Queries on MS Access Database
Views: 141
This section describes how to run queries on MS Access database through the JDBC-ODBC driver.
Sponsored Links:

Similar posts...


MS Access JDBC Driver -- Connecting MS Access with Java

MS Access JDBC Driver -- Connecting MS Access with Java Icon
To connect Java with MS Access, you need a JDBC driver. Although Microsoft do not produce a JDBC driver for MS Access, you can use the Easysoft JDBC-ODBC Bridge as a MS Access JDBC driver. Use the JDBC-ODBC Bridge to provide the connectivity layer between your Java code and MS Access database. The MS Access database can be on the same machine as your Java or a remote machine.

JDBC-ODBC - Creating New Tables in MS Access Database

JDBC-ODBC - Creating New Tables in MS Access Database Icon
This section describes how to create a new table in a MS Access database through the JDBC-ODBC driver.

JDBC-ODBC Bridge Driver

JDBC-ODBC Bridge Driver Icon
This chapter provides tutorial notes on using the JDBC-ODBC Bridge driver with MS Access database. Topics include creating MS Access database file; creating DSN for MS Access database files; inserting rows to and retrieving rows from Access database.

Needed - JDBC Derby or ODBC-JDBC bridge

Needed - JDBC Derby or ODBC-JDBC bridge Icon
I would like to use Access (2003) as a front end for a Java DB I am working on in a separate java project. These speed and ease of using Access would be a godsend.

I would be extremely grateful if anyone could point me in the right direction.

So far I found one commercial ODBC-JDBC bridge that failed to run on 64 bit Win 7. Other interfaces I tried either didn't work, were just hard to set up, or didn't provide the functionality you get with Access.

Hopefully I am overlooking something easy.

Any tips, clues, or links to a driver or method to get Access connected to a jdbc DB would be extremely appreciated

On Using Pass-through Queries

On Using Pass-through Queries Icon
You might want to send a SQL specific query in Microsoft Access directly to the underlying ODBC database server to improve performance. You may do this by using a pass-through query. Running such queries is the topic of this tutorial. TOC: On Using Pass-through Queries in MS Access; Providing the ODBC Connectivity information; Creating a Query; Saving Connection information with the query.

Question Changing SQL user pw causes ODBC connection issues

Question Changing SQL user pw causes ODBC connection issues Icon
I have a network that I am running with a SQL 2008 R2 server where I want to change the pw on the user associated with a SQL DB that my Access 2003 database accesses. I changed the pw on the SQL user and when I go into the ODBC connection in Admin tools I get a successful connection with the new pw, but when I try to open the Access database that is using this DSN I get an ODBC connection error. I tried relinking the tables with the Link Table Manager, but I still seem to have this issue.

What do I need to do in order to change a SQL user so that the ODBC connection for my Access database works? The SQL DB is running SQL 2008 R2 running on Server 2008 R2 and the client machines are running Access 2003 on Windows XP SP3.


I have an Access 2003 database linked via ODBC using MYSQL ODBC version 5.1 It works very well apart from UNION queries with more than 1 UNION

If I run a query with 2 UNIONS then I get an Error

ODBC – call failed. (Error 3146)

Looks like an issue with the MYSQL ODBC Adapter.

IF I write it as a PASS THROUGH query running on the server with the same adapter DSN, then it is fine.

Anyone any ideas of whether it is possible to get round this issue IN ACCESS without resorting to temporary tables OR PASS Through query.

Access 2000 change ODBC query

Access 2000 change ODBC query Icon
first time poster.

I have several Access(2000) Queries created that are querying data from a SQL database.

I inherited these queries and everything was working fine. We recently changed our SQL server and our IT person deleted the old ODBC connection and created a new one to the new SQL server.

Now my queries do not work.they see data but it's data from the old server (which is still running) and not the new server.

I work alot with Crystal Reports and it's very easy to 'change' database location. However, in Access I can't seem to find a location/screen where I could edit the connection string associated with the Query

Sharing an ODBC Connection

Sharing an ODBC Connection Icon
I have an MS Access application that includes obtaining data from an SQL backend database. I have defined an ODBC connection to the SQL database and everything works fine on my system. I have a number of queries that include code like this "c:\documents and settings\<userid>\My Documents\<odbc database name>". I want to share this application with other members on my team. I understand that they have to set up their own ODBC connection and this is normally stored in their own My Documents folder. How do I modify the code sample above so that it is no longer specific to a <userid> \\My Documents folder? I tried copying the ODBC database to a shared folder but other people who try to access it can't open the tables in the SQL backend database when executing a query.

odbc connection in windows 7

odbc connection in windows 7 Icon
with access 2007 on windows 7 Passthrough queries dose not connect to sql server. for waking up the connection I must first link manualy an sql table and then alll Passthrough queries are live.
the odbc string I use is: "ODBC;DSN=Focus;APP=2007 Microsoft Office system;DATABASE=mydb;uid=sa;pwd=123"

is there any security metter? I have to define something in access or in wondows