Hi all,
I have 1 database that is required for several applications (the data must
be shared ). They also have there own database. Is it possible to combine 2
databases into 1 database in DB2 7.x?
--
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.***********@A skesis.nl
web: www.askesis.nl 9 2806
Joost Kraaijeveld wrote: Hi all,
I have 1 database that is required for several applications (the data must be shared ). They also have there own database. Is it possible to combine 2 databases into 1 database in DB2 7.x?
Is the datasharing between the two DBs massive (lots of data, often and
for many tables?)
If you read up of federated (tons of material on developerWorks) you may
be able to get away by creating a few nicknames.
Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
"Joost Kraaijeveld" <J.***********@ Askesis.nl> wrote in message news:<pc******* **********@amsn ews03.chello.co m>... Hi all,
I have 1 database that is required for several applications (the data must be shared ). They also have there own database. Is it possible to combine 2 databases into 1 database in DB2 7.x?
As well as a federated system, consider having a single database with
two different schema names.
Serge Rielau wrote: Is the datasharing between the two DBs massive (lots of data, often and for many tables?)
Often, not much, 15 tables.
If you read up of federated (tons of material on developerWorks) you may be able to get away by creating a few nicknames.
Do I need the Enterprise Edition for this or does the Workgroup Edition also
work?
--
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.***********@A skesis.nl
web: www.askesis.nl
Joost Kraaijeveld wrote: Serge Rielau wrote:
Is the datasharing between the two DBs massive (lots of data, often and for many tables?)
Often, not much, 15 tables.
If you read up of federated (tons of material on developerWorks) you may be able to get away by creating a few nicknames.
Do I need the Enterprise Edition for this or does the Workgroup Edition also work?
For local federation I don't think there is any license needed.
You certainly do _not_ need a DB2 II license.
Blair is much more knowledgable than me on that.
Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Serge Rielau wrote: For local federation I don't think there is any license needed. You certainly do _not_ need a DB2 II license. Blair is much more knowledgable than me on that.
My questions was technical of nature: for some reason I do not succeed in
creating a federated database. I have followed the docs but I keep getting
errors so I assumed that I may have the wrong version. I checked but both
the Enterprise Edition (on Windows 2000) and the Workgroup Edition (on
Linux) do the same thing wrong (propably meaning that I am consistently
doing the same things wrong ;-) ).
My problem is that I do not fully understand what I have to fill in in the
Control Center. I have the following questions:
1. The name for the remote data source is completely arbitrary?
2. Is it correct that there is no DB2 server type choice for Linux? Should I
use DB2/2 or DB2/NT?
3. Does it matter if the actual version (7.2.7) differs from what I fill in?
4. Is the node name the same as System name in the Control Center or the
name of the instances (both type of names are shown in the drop down box)?
--
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.***********@A skesis.nl
web: www.askesis.nl
Correct, an II license is not needed when all databases involved are DB2. II is
required for federation with Oracle and SQL Server.
Serge Rielau wrote: Joost Kraaijeveld wrote: Serge Rielau wrote:
Is the datasharing between the two DBs massive (lots of data, often and for many tables?)
Often, not much, 15 tables.
If you read up of federated (tons of material on developerWorks) you may be able to get away by creating a few nicknames.
Do I need the Enterprise Edition for this or does the Workgroup Edition also work? For local federation I don't think there is any license needed. You certainly do _not_ need a DB2 II license. Blair is much more knowledgable than me on that.
Cheers Serge -- Serge Rielau DB2 SQL Compiler Development IBM Toronto Lab
Joost,
What kind of errors are you getting? Can you dump teh output here?
Best try it from the CLP (one less layer to do things wrong).
Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Hi Serge, What kind of errors are you getting? Can you dump teh output here? Best try it from the CLP (one less layer to do things wrong).
Thanks for this question: it forced me to do what you asked (use the CLP).
It seems that I had to catalog the node....... If you see a red shinig light
in the east: that's my face gloing in shame in the dark above the
Netherlands.
Now I get the next message:
CREATE NICKNAME "JKR"."BEDR YF" FOR "ASTERIX"."JKR" ."BEDRYF"
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL3324N Column "BEVESTIGEN " has a type of "LONGVAR" which is not
recognized.
The actual column type is LONG VARCHAR, just as the prvious column and the
one before that.
Groeten
Joost
Order means nothing. The code may well roll the columns up backwards.
I am not certain that nicknames support LONG VARCHAR.
While LONG VARCHAR/LONG VARGRAPHIC are not deprecated their use has been
stabilized.
Looking at the online docs it says:
"LONG VARCHAR and LONG VARGRAPHIC data source data types are mapped to
CLOB and DBCLOB data types, respectively. LONG VARCHAR FOR BIT DATA is
1mapped to BLOB."
Now that text was changed for V8 FP1....
Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nick |
last post by:
I am working a new application...well actually a series of applications for
my company. They want internal users to be able to go to a site and
everything regarding security is transparent, however we will have brokers
and customers that also need to connect and will require a username and
password. In this case we were going to store their credentials in a SQL
database. Internal users will have the ability to access the same resources...
|
by: Reidar Jorgensen |
last post by:
I have several Access databases, identical in structure, but different data. Is there an
easy way to combine them all into one database? There are six tables, I just want the
data from all databases merged into one database.
Thanks in advance.
|
by: musicloverlch |
last post by:
I have a table with multiple records in it. I am being forced to
combine multiple records into one record in order to be uploaded to a
website, and I only get one record per client. How can I
systematically combine multiple records into 1?
The table looks like this
Client ID Service Status
1 Doc Pending
1 Test Pending
|
by: achaudhri |
last post by:
Can someone guide what is the best way to combine 3 databases into one.
Thanks
archana
|
by: Rodjk #613 |
last post by:
Hello,
I am working with a database that is in use in several locations.
The structure of the databases are identical, but the data is
different.
I am tasked with combining the data into one large database.
(It is SQL 2000)
I have .bak files for each location.
Is there any way to restore a backup into a database, combining the
data?
| |
by: ryanvmcgee |
last post by:
Hello,
I am fairly new at doing advanced databases outside of excel.
I am trying to combine records in a database I will be using, none of the, CONCAT Queries or scripts I have found seem to work quite right.
What I need is something to combine records like this:
ID Machine
AAG99999 CANON 225
ADL900221 OLIVETTI F231
|
by: situ |
last post by:
Hello all,
i have Database1 and database2,
is it possible to make database connection to database2 by running
stored procedure on database1.
Thanks and Regards
Situ
|
by: Vik Rubenfeld |
last post by:
I have to search 2 mySQL tables, and show the user a single sorted list
that contains all the results from both mySQL queries.
My question is, how do you get all the resulting items from both
databases into one single, sorted list, to present to the user?
I guess one way would be, to use PHP to copy all the results from each
database, into a PHP array, and then sort it. Is that how this kind of
thing is usually done?
|
by: zalek |
last post by:
Hello,
I have at home and at work a program that adds info to a local Access
data base. That means that my home Access and work Access database are
not in sync.
My question - how to sync both databases?
Thanks,
Zalek
|
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: 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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: 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: 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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |