sivasivasivasivasiva
Programmer
Hello,
We have tablename called "T1" in two different db2 database servers.Structure and creator of the table is same in both databases.
1) One server is our live system.(say "LIVE1"
2) Another server is our archieve database which is in the remote location.(say "LIVE2"
We want to fetch all the records from "LIVE1"."T1" and "LIVE2"."T1".
The sql query would be like this.
Select * from "LIVE1"."T1"
union
Select * from "LIVE2"."T1".
Is there any command like "CREATE DATABASE LINK" in Oracle in db2 v8.1?
Regards,
Shiva
We have tablename called "T1" in two different db2 database servers.Structure and creator of the table is same in both databases.
1) One server is our live system.(say "LIVE1"
2) Another server is our archieve database which is in the remote location.(say "LIVE2"
We want to fetch all the records from "LIVE1"."T1" and "LIVE2"."T1".
The sql query would be like this.
Select * from "LIVE1"."T1"
union
Select * from "LIVE2"."T1".
Is there any command like "CREATE DATABASE LINK" in Oracle in db2 v8.1?
Regards,
Shiva