Populate Access table with Oracle data - how?

From: dj (dj_at_discussions.microsoft.com)
Date: 11/23/04


Date: Tue, 23 Nov 2004 06:29:08 -0800

It seems simple enough. I need to get one or more rows, based on a WHERE
clause (parameter), from a single linked Oracle table via ADO and put the
results in a local Access 2000 table for later use. This takes place in the
same Access 2000 db.

Getting the data is not problem, but it seems like I should be able to do
the whole thing in a single INSERT statement: INSERT INTO [Access table
columns] SELECT [Oracle columns] WHERE [Oracle column] = [parameter value].

But I get an error (ORA-00942) from Oracle because Oracle doesn't recognize
the local Access table. I could open an ADO recordset and loop through
that, putting the rows in the local table, but that seems inefficient.

Anyone have a better way?

TIA,
dj



Relevant Pages

  • Re: ADO.NET and ODBC { CALL ..... } Syntax
    ... > Coonecting to Oracle 8i DB running on Unix ... > OleDB connection with provider as MSDAORA. ... > the same way as it works in ADO arena. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: ADO.NET and ODBC { CALL ..... } Syntax
    ... > Coonecting to Oracle 8i DB running on Unix ... > OleDB connection with provider as MSDAORA. ... > the same way as it works in ADO arena. ... You should really only do this at design-time, or with a command you will ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Table open times and rowsize discontinuity
    ... some manner related to ADO or the tool you are using. ... Puget Sound Oracle Users Groupwww.psoug.org- Hide quoted text - ... For the array fetching, the only parameter I can find in the ADO ... exceeding the SDU and the MTU. ...
    (comp.databases.oracle.misc)
  • Re: OO4O 2.1 vs MDAC
    ... We're planning to move VB3 using OO4O 2.1 ... Now I must distinguish and list out some of the features that ADO / ... (OLE DB or ODBC) ... Also you don't mention the Oracle version there are differences between ...
    (microsoft.public.data.ado)
  • ADO.NET and ODBC { CALL ..... } Syntax
    ... Coonecting to Oracle 8i DB running on Unix ... ADO is used as connecting mechanism ... OleDB connection with provider as MSDAORA. ... Especially the using ODBC Call syntax to fetch the data either via Stored ...
    (microsoft.public.dotnet.framework.adonet)