473,545 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7049
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*********@ho tmail.com> wrote in message
news:vz******** **********@news svr13.news.prod igy.com...
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 qryMyPassThroug h

Anne
Feb 10 '06 #5

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

Similar topics

1
3062
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 sequential number. My problem is, the make table query is taking all the TransactionID's and putting them in the new table. Is there a way to take the...
2
5774
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 database and then i create a basic append query that appends the new records to the table(tblonlinereg). this works great if the field is greater...
1
1609
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 to run. The target table is via an ODBC link to a temporary DB on the user's C: drive. The source tables are a mixture of Oracle, Sybase, and...
7
6844
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 remember - could someone refresh my memory on this please? Thanks
2
3548
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 from a 1 field input table and then opens a form bound to this table. Results from the oracle query are pasted into the input table. When the form...
22
18772
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. The system is client/server, multiusers based. The MDBs are using record locking. Here is part of the code: Dim wkSpace As Workspace, db As...
12
5258
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
4413
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 this data and then run an Insert Into (append) query. Perhaps I might also experiment by toggling the UseTransaction property if performance was...
3
3160
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 with data Now, in the temp table, I have a memo field. I append information from a text column (Oracle DB) into the memofield in the temp table. For...
10
6736
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 oracle table. The linked table has a composit primary key (Code, Org). The table in access has new data that are not in the oracle table and the data in...
0
7459
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7393
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7653
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7749
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5322
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3444
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3439
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1012
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
695
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.