Hello,
I have written a utility in C# using ODBC.NET. It can fetch information
from a ODBC supported database table and copy it to the other ODBC
supported DB table; provided the tables exist on both databases with
similar schema.
This is running fine when I transder data from Oracle to DB2, MySQL to
Oracle and vice versa. But it fails from DB2 to Oracle.
I am using Datasets to retrieve data (using Select command of
OdbcCommand) from source DB and persist data in destination DB while
using CommandBuilder. So CommandBuilder generates INSERT command for me
automatically.
I retrieve data from DB2 and fill in a dataset, but when I try to
persist data in the destination DB, which is Oracle, the INSERT command
generated by CommandBuilder has qualified name for the table
(dbname.scheman ame.tablename) and that qualified name is the problem
part. Is anybody aware, how can I avoid qualified name generated for
tablename? The same code works fine for vice versa scenario (when I
retieve data from Oracle and persist it in DB2) and does not generate
any qualified name for the table inside INSERT command.
Any help is greatly appreciated.
Rgds,
Ali 0 1386 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Martin |
last post by:
Hi,
I have a xml file like the one below
<?xml version="1.0" encoding="utf-8"?><e1
xmlns:e1="http://tempuri.org/Source1.xsd" e1:att1="1" e1:att2="2"
e1:rest="345"/>
If I try to create a schema for it with Visual Studio, I get the error
"Failed to create a schema for this data file because:
|
by: stevenkblack |
last post by:
I have a server W2k running DB2 8.1.6. We have two databases one DBDC
that holds our user base and QUALITY with all our application data. I
have about 8 tables federated on QUALITY looking at the table on DBDC.
The traffic should be minimal the call to the remote tables is just for
user log in. It appears that the db2syscs.exe process grows quite a
bit 1,518,538 K. There is some issue with the connection to the
federated tables. below...
|
by: Ian |
last post by:
We are currently experiencing problems with our Access XP database. We
are using access as the front-end and are connecting to Oracle 7.3 via
ODBC. Our users are running Win 98 and Win Xp.
We are currently using Oracle73 drivers ver:1.15.03.01 File:
SQ032.73.dll Date:18/06/1996.
The Problem,
I can re-link the Oracle tables and open them within access, However
the tables take around a minute to open.
When I try to run a query I receive...
|
by: kai |
last post by:
Hi, All
I used to link a SQL Server 2000 table through ODBC in Access 2003 using
Wizard, now because the security requirement, I want to do the same job
using code. I tried hard, but not successful. Please help.
Thanks
Kai
|
by: Lewis Veale |
last post by:
I have an Access 2000 front-end pointing at a SQL Server backend, with
around 80 linked tables and views. I frequently need to point the
front-end at different versions of the back-end, and achieve this by
relinking the tables and views to use a different DSN.
I use the Linked Table Manager > Select All > and tick the 'always
prompt for a new location' box, then click OK. It correctly pops up
the 'select data source' box, from which I...
| |
by: gau.tai |
last post by:
I have an Access 2003 database, protected by a workgroup, that I am
trying to view through python. Currently, I'm attempting dao with the
win32 package, and I'm able to view all of the table names, but I don't
know how to view the attributes of the tables.
My code:
import win32com.client
from pprint import pprint
|
by: Nigel Norman |
last post by:
Although I have written some perl ,I have obviously missed something. I have created a database for my local tennis club, which can be updated etc etc. I thought it would be a good idea to for members to view details on line, for contact purposes (more likely to get a team out). So I wrote the code (below). The first record of the database is nicely viewed in the table.However, all other records appear as just one long line of data, outside the...
|
by: Vivek |
last post by:
Hi,
Generally we work with the 2 part qualified table names in db2 i.e.
<schema>. <table name>
Is there a more fully qualified table name ? I've seen that a select
from <database name>.<schema>.<tabnamealso works.
This brings me to the next question. Is it possible to refer to a
table in database 2 when connected to database 1 ? If so any
privileges that are required for doing that ?
|
by: Nirmala123 |
last post by:
hi...
I want to sort the table using combobox values. I give the code here.
address.html:
<html>
<head>
<title>Add a new entry</title>
</head>
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |