If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I want to create a trigger that if table in DB1 is modified, the trigger action insert data to table2 in DB2. Is it possible for me to do that? How to access table in another database?
yes this is. If defining the table2 from different db as a nickname to db1
If both are db2, no additional code has to be installed, only federated activated.
create wrapper drda - create server .... - create user mapping .... - create nickname..
This should do
Best Regards, Guy Przytula
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Not sure if you can do this ....
This is a two phase commit scenario ... AFAIK, there is no support for two phase commits in federated systems, unless it has changed in one of the recent fixpaks
Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.