473,396 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Append query from Oracle Back-End


When I try to use an append query from an oracle link it takes forever.
I am exploring the idea of doing an append action using a pass-through
query.

If I have an Oracle ODBC connection to server OraTest. User: User1
Password: password

and I am trying to append all records in table: tblTEST that are code:
"abc"

any suggestions on the SQL code that I need to use for the Access2003
to Oracle9i pass-through query?

Thanks for any tips or references.

RBollinger

Feb 7 '06 #1
4 7034
robboll wrote:
When I try to use an append query from an oracle link it takes forever.
I am exploring the idea of doing an append action using a pass-through
query.
I'm not sure what you mean by the first sentence - do you mean from
Oracle into Jet? This can take a little while - I used to use Jet make
table queries years when I brought Oracle data from Oracle into Jet.
And of course, I used Jet linked tables.
If I have an Oracle ODBC connection to server OraTest. User: User1
Password: password
For both passthrough queries and linked table queries, the above does
not actually matter in Access itself - it does matter for setting up the
DSN you use.
and I am trying to append all records in table: tblTEST that are code:
"abc"
Is tblTest an Oracle table? What are you "appending" from? Not enough
information.
any suggestions on the SQL code that I need to use for the Access2003
to Oracle9i pass-through query?


What I can tell you is that SQL code in a pass through query in Access
is EXACTLY like you would write using Oracle Forms or what most Oracle
folks are familiar with, SQLPlus. "Append queries" in Oracle are
referred to as insert statements - somewhat similar in structure to a
Jet dialect insert or "append query".

There is a usenet oracle hierarchy: however, I would not ask such a
general there without having done some research first - you'd get
crucified! 8) It's an excellent and huge resource but in contrast to
this newsgroup, the folks there are generally very intolerant of
questions that look like one hasn't visited OTN or read any Oracle on
line documentation.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Feb 8 '06 #2
Tim,

The syntax is what I am trying to find. Access 2003 MDB linked to an
Oracle Back-End. Oracle Table tblTEST. Field Name: Code

Need to create an append query (or insert statement) using a
pass-through query thus avoiding Jet -- appending to a table with the
same structure in Access (e.g., tblTestAccess).
Tim Marshall wrote:
robboll wrote:
When I try to use an append query from an oracle link it takes forever.
I am exploring the idea of doing an append action using a pass-through
query.


I'm not sure what you mean by the first sentence - do you mean from
Oracle into Jet? This can take a little while - I used to use Jet make
table queries years when I brought Oracle data from Oracle into Jet.
And of course, I used Jet linked tables.
If I have an Oracle ODBC connection to server OraTest. User: User1
Password: password


For both passthrough queries and linked table queries, the above does
not actually matter in Access itself - it does matter for setting up the
DSN you use.
and I am trying to append all records in table: tblTEST that are code:
"abc"


Is tblTest an Oracle table? What are you "appending" from? Not enough
information.
any suggestions on the SQL code that I need to use for the Access2003
to Oracle9i pass-through query?


What I can tell you is that SQL code in a pass through query in Access
is EXACTLY like you would write using Oracle Forms or what most Oracle
folks are familiar with, SQLPlus. "Append queries" in Oracle are
referred to as insert statements - somewhat similar in structure to a
Jet dialect insert or "append query".

There is a usenet oracle hierarchy: however, I would not ask such a
general there without having done some research first - you'd get
crucified! 8) It's an excellent and huge resource but in contrast to
this newsgroup, the folks there are generally very intolerant of
questions that look like one hasn't visited OTN or read any Oracle on
line documentation.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto


Feb 8 '06 #3
robboll wrote:
Tim,

The syntax is what I am trying to find. Access 2003 MDB linked to an
Oracle Back-End. Oracle Table tblTEST. Field Name: Code

Need to create an append query (or insert statement) using a
pass-through query thus avoiding Jet -- appending to a table with the
same structure in Access (e.g., tblTestAccess).


A Passthrough append query would only work if both tables were on the server. A
Passthrough SQL statement is sent to and run entirely on the remote system and
as such it has no "knowledge" of any of your local Access objects and cannot
interact with them.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Feb 8 '06 #4

"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:vz******************@newssvr13.news.prodigy.c om...
robboll wrote:
Tim,

The syntax is what I am trying to find. Access 2003 MDB linked to an
Oracle Back-End. Oracle Table tblTEST. Field Name: Code

Need to create an append query (or insert statement) using a
pass-through query thus avoiding Jet -- appending to a table with the
same structure in Access (e.g., tblTestAccess).


A Passthrough append query would only work if both tables were on the
server. A Passthrough SQL statement is sent to and run entirely on the
remote system and as such it has no "knowledge" of any of your local
Access objects and cannot interact with them.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


If what you want is to move data from Oracle to Access, what you can do is
create a Pass-Through SELECT query to collect the desired data, and then
create a regular Access APPEND query that uses the Pass-through query as its
source. Something like this:

Insert into tblTestAccess Select * from qryMyPassThrough

Anne
Feb 10 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: PMB | last post by:
Thank you in advance for any and all assistance. I'm trying to use a make table query to pull the last transactionID, so I can use an append query to reset the transactionID to the next...
2
by: JMCN | last post by:
hi i have a general question regarding append queries in access 97. each week i need to update my table(tblonlinereg) with new or modified records. firstly, i import the text file into my...
1
by: PeteCresswell | last post by:
I've got a query that comes up with a dataset list in < 3 seconds when run just in DataSheet mode...but the same query, when run as intended (Append to an empty table) takes upwards of 30 minutes...
7
by: What-a-Tool | last post by:
Remember seeing a post a while back from someone who wanted to add to a table only if the data didn't already exist. Someone suggested a type of query called an "Up" something or other. Can't...
2
by: Mark | last post by:
I have a FE/BD 2002 DB on a XP pro platform. I know this is ugly but it works for me...... A text file is produced from our Oracle WMS. (Average 20k records) A command button deletes all records...
22
by: RayPower | last post by:
I'm having problem with using DAO recordset to append record into a table and subsequent code to update other tables in a transaction. The MDB is Access 2000 with the latest service pack of JET 4....
12
by: zwasdl | last post by:
Hi, I'm using MS Access to query against Oracle DB via ODBC. Is it possible to use HINT in Access? Thanks, Wei
2
by: RichardP via AccessMonster.com | last post by:
Hi there, I have a query running against Oracle which returns approx. 140,000 records. I need to store all this data locally in my BE database. Conventionally I would set up a table to contain...
3
by: nujcharee | last post by:
Hi I have a series of queries, I have a number of temp tables which I use as templates for my data. I start with 1. Delete the data in a temp table 2. Use append query to fill the temp table...
10
by: MeeMee | last post by:
Hi I have a problem appending data into an oracle table from access. I imported the new data from an excel sheet into a table in access and useed an append query to add the data into a linked...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.