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.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 UDB Stored Procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-18-06, 02:39
leenap leenap is offline
Registered User
 
Join Date: Apr 2006
Posts: 1
DB2 UDB Stored Procedure

I was just wondering if you could help me out with this query -

I have an instance created within which you have 3 databases say A , B and C.
I have a Stored Procedure created in A say A.proc1.I have a requirement where I have to update some tables in B and C database.
Is it possible to select or update any table from B or C database in this procedure where the procedure is been created in A database ?
Reply With Quote
  #2 (permalink)  
Old 04-18-06, 07:22
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
You can update data in B or C or A, but not in more than one of the databases in the same UOW. Two phase commit support for Federation is coming in V9.

BTW, if you are new to DB2, search for Federated Database in the documentation . This presentation might help

http://www.gseukdb2.org.uk/downloads/0506federation.zip

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On