Hello,
I am fairly familiar with Oracle and need to move to DB2 for an
application within the next few weeks. I have taken a quick look at
IBM's site and documentation and it looks fairly similar to Oracle in
its features. I have a few questions that might seem trivial but
would help a newbie navigate this transition:
1) Firts off, is there a recommended book(s)? I have gone through
Amazon, and from what I can gather, the books are either outdated
(versions 6, 7, etc.) and/or not recommended by the reviewers? Would
the best place be IBM's own product documentation?
2) What version is recommended? The latest version 8.1, an earlier
version, or perhaps the new Stinger version?
3) Given that DB2 is "universal" and it runs, well, pretty much
anywhere, from PC's to Unix/Linux and to mainframes, how does one
establish connectivity to a DB2 server in a platform-independent
fashion as in ODBC? Or would this be customized for each platform?
4) I have seen a few book titles that specifically say something like
"DB2 for Windows/Unix". I am confused by this. As far as Oracle
goes, for instance, I can write the same SQL or PL/SQL code, and I
would be confident that it would run on all platforms that Oracle
supports. Is this not the case with DB2, meaning that DB2
functionality changes from platform to platform? Or does this have to
do mainly with admin tasks?
DB 2 1667
"DB_2" <de*******@yahoo.com> wrote in message
news:9b**************************@posting.google.c om... Hello,
I am fairly familiar with Oracle and need to move to DB2 for an application within the next few weeks. I have taken a quick look at IBM's site and documentation and it looks fairly similar to Oracle in its features. I have a few questions that might seem trivial but would help a newbie navigate this transition:
1) Firts off, is there a recommended book(s)? I have gone through Amazon, and from what I can gather, the books are either outdated (versions 6, 7, etc.) and/or not recommended by the reviewers? Would the best place be IBM's own product documentation?
The manuals and Red Books (how to books) are actually quite good. you can
download all of them from the IBM website. There are several good version 8
manuals (some are called certification guides) but I am not sure they are
worth the money if you have to pay yourself. http://www-306.ibm.com/cgi-bin/db2ww...bs.d2w/en_main http://www.redbooks.ibm.com/
DB2 is generally much easier to use than Oracle. The only problem is that
the intial memory allcoations are rather skimpy, but that can be quickly
adjusted using the Database Performance Wizard in the Control Center.
2) What version is recommended? The latest version 8.1, an earlier version, or perhaps the new Stinger version?
Definitely version 8.1 fixpak 5. Stinger will not be released until later
this year. It is expected to be 8.2, which should be a free upgrade for
version 8 licenses.
3) Given that DB2 is "universal" and it runs, well, pretty much anywhere, from PC's to Unix/Linux and to mainframes, how does one establish connectivity to a DB2 server in a platform-independent fashion as in ODBC? Or would this be customized for each platform?
Connect to/from Windows/Linx/UNIX is usually done best via TCP/IP via the
free DB2 run-time client code. http://www-306.ibm.com/cgi-bin/db2ww...oad.d2w/report
If you want to connect to a mainframe, or AS/400 DB2, you will need DB2
Connect, either on each client, or on a gatway machine. DB2 Connect is not
free.
4) I have seen a few book titles that specifically say something like "DB2 for Windows/Unix". I am confused by this. As far as Oracle goes, for instance, I can write the same SQL or PL/SQL code, and I would be confident that it would run on all platforms that Oracle supports. Is this not the case with DB2, meaning that DB2 functionality changes from platform to platform? Or does this have to do mainly with admin tasks?
DB
DB2 for Windows, Linux, and UNIX (AIX, Solaris, HP/UX) is the same code base
and everything should be exactly compatible. DB2 Mainframe DB2 and AS/400
DB2 are slightly different, mostly at the admin level, but DML is very
similar, if not the same. (DB2 for AS/400 is more out-of-synch with the
others). There is manual called "SQL Reference for Cross-Platform
Development V1.1" that outlines the differences (but I don't think this has
been updated for new version 8 of mainframe DB2). de*******@yahoo.com (DB_2) wrote in message news:<9b**************************@posting.google. com>... Hello,
I am fairly familiar with Oracle and need to move to DB2 for an application within the next few weeks. I have taken a quick look at IBM's site and documentation and it looks fairly similar to Oracle in its features. I have a few questions that might seem trivial but would help a newbie navigate this transition:
1) Firts off, is there a recommended book(s)? I have gone through Amazon, and from what I can gather, the books are either outdated (versions 6, 7, etc.) and/or not recommended by the reviewers? Would the best place be IBM's own product documentation?
I am fairly new too, just moved in from being an Oracle DBA. I found
a redbook on Oracle to DB2 conversion. It has a lot of good info
you'll want to read. There are DB2 DBA certification books for
Unix/Linux...but they are fairly liight in details. Also, check out
the DB2 cookbook at http://ourworld.compuserve.com/homep...l/HTM_COOK.HTM 2) What version is recommended? The latest version 8.1, an earlier version, or perhaps the new Stinger version?
8.1 fp 5... Note, you may run into a bug that causes db server
crashing if you have v7 clients attaching.
3) Given that DB2 is "universal" and it runs, well, pretty much anywhere, from PC's to Unix/Linux and to mainframes, how does one establish connectivity to a DB2 server in a platform-independent fashion as in ODBC? Or would this be customized for each platform?
not sure what you are asking for here...
4) I have seen a few book titles that specifically say something like "DB2 for Windows/Unix". I am confused by this. As far as Oracle goes, for instance, I can write the same SQL or PL/SQL code, and I would be confident that it would run on all platforms that Oracle supports. Is this not the case with DB2, meaning that DB2 functionality changes from platform to platform? Or does this have to do mainly with admin tasks?
From what I've seen...it depends. If you write SQL procedures and
functions...they will work. But I am not so sure about C, Java, etc.
Hope this helps...
Chet West http://www.OracleTricks.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: William C. White |
last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using
cURL? Our website is hosted on a shared drive and the webhost company
doesn't installed additional software (such as cURL)...
|
by: Albert Ahtenberg |
last post by:
Hello,
I don't know if it is only me but I was sure that header("Location:url")
redirects the browser instantly to URL, or at least stops the execution of
the code. But appearantely it continues...
|
by: James |
last post by:
Hi,
I have a form with 2 fields.
'A'
'B'
The user completes one of the fields and the form is submitted.
On the results page I want to run a query, but this will change
subject to which...
|
by: Ollivier Robert |
last post by:
Hello,
I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9
system. The link succeeds but everytime I try to run php, I get a SEGV from
inside the libcnltsh.so library.
...
|
by: Richard Galli |
last post by:
I want viewers to compare state laws on a single subject.
Imagine a three-column table with a drop-down box on the top. A viewer
selects a state from the list, and that state's text fills the...
|
by: Albert Ahtenberg |
last post by:
Hello,
I have two questions.
1. When the user presses the back button and returns to a form he filled
the form is reseted. How do I leave there the values he inserted?
2. When the...
|
by: inderjit S Gabrie |
last post by:
Hi all
Here is the scenerio ...is it possibly to do this...
i am getting valid course dates output on to a web which i have designed
....all is okay so far , look at the following web url
...
|
by: Jack |
last post by:
Hi All,
What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g.
select x from y where z=:parameter
Which in asp/jsp would be followed by some statements to bind a value...
|
by: Sandwick |
last post by:
I am trying to change the size of a drawing so they are all 3x3.
the script below is what i was trying to use to cut it in half ... I
get errors.
I can display the normal picture but not the...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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...
|
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,...
|
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...
|
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,...
| |