MS Access pass-through query for Oracle produces incorrect data type field

RedSlayer

New Member
Joined
Mar 17, 2015
Messages
2
MS Access 2003
Oracle 10g
Windows 7

I am basically running data updates every night into local MS Access tables from source data tables in Oracle.

This worked fine, until some change on the network which produced a timeout error for all append queries that used pass-through queries.

In order to work around this, I decided to first drop all tables and then run make table queries (SELECT INTO) with a pass-through query to the Oracle tables, which somehow avoided the timeouts.

Problem now is, some of the resultant Access tables do not have the same base data types as the Oracle tables. E.g. integer fields are created as text.

Is there some way of forcing the resultant data-types?
Is this maybe an Oracle driver problem?


Thnx,

Red ;)
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I have solved this - used a different ODBC connection string (rather than ODBC MS Oracle), which now replicates data types ok from the source table.
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,395
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top