Jump to content

ODBC Help???


dkirk

Recommended Posts

I have an MS Access db that I am connecting to via ODBC. Within the Access db, I have a linked table from a AS400 db which is also connected via ODBC through MS Access. I have created a query within Access using fields from the AS400 table. I am trying to extract info from the AS400 query in Access by using php. My problem is that the MS Access connection does not require a user name and password to connect but the AS400 connection requires both. Of course it is no problem connecting to either of these db's using a seperate connection but I cannot extract info from the AS400 query in Access using php. I have created the query in Access because the table size in the AS400 is huge and I only require info from a few of the fields. Is there anyway to "connect within a connection"? I hope this makes a little bit of sense....

Link to comment
Share on other sites

I could connect directly but the table size from which I need the info from is so large, it takes about 10 minutes to return the results from the query statement. The table which I am pulling info from is in the neighborhood of 2GB. This is why I have created a query through Access. Through the query the file size is dropped to around 60MB...

Link to comment
Share on other sites

  • 10 months later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.