Posted by: Chyne on: August 5, 2008
Oracle
Connect the Oracle database through Toad (Download from: http://www.toadsoft.com/, Toad for Oracle)
Save the result (data retrieval) based from the SQL statement in Fixed Field Spacing (Untick column headers, Tick ‘Include NULL text’)
• Save the result with the filename: testing.txt
DB2
Create a database
• Create a table
• Create the fields with the same attributes as the table in Oracle
Right click the [...]
Posted by: Chyne on: July 30, 2008
Open command line
> db2cmd
Catalog the DB2 server node
> db2 catalog tcpip node [NODE_NAME] remote [HOST_NAME] server [PORT] remote_instance [db2inst1]
List the database
> db2 list database directory
List the command
> db2 ?
Procedures of Creating Database
Create a database
> db2 create database dbusr
Access to the location of the database
Connect to the new database
> connect to dbusr
Import the tables
> db2move [DATABASENAME] [...]