ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Rgarding multiple databases

Post new topic  Reply to topic
 Rgarding multiple databases « View previous topic :: View next topic » 
Author Message
viswanath
PostPosted: Wed Nov 16, 2005 10:30 am    Post subject: Rgarding multiple databases Reply with quote

Apprentice

Joined: 09 Jun 2005
Posts: 33

hai can any body suggest a procedure to
Insert the data into 2 tables in different databases(oracle,db2)...

thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 16, 2005 10:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can only specific one database per database-aware node (Compute, Database, DataInsert, DataUpdate,DataDelete).

Therefore, to do work with two databases, you need two nodes.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
viswanath
PostPosted: Wed Nov 16, 2005 10:46 am    Post subject: In MB 6.0 there is an enhancement Reply with quote

Apprentice

Joined: 09 Jun 2005
Posts: 33

hai
thanks for u r reply.In MB 6.0 there is an enhancement that we can access multiple databases in a single compute node....

can u give details how to do that...

thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 16, 2005 11:11 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I thought this restriction had gone away in v6 as well, but the Compute Node Properties still says it can only use one.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Nov 16, 2005 11:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Yes, you can specify multiple database in a compute node, viz:
Quote:

FROM clause FieldReferences can contain expressions of any kind (for example, Database.{DataSource}.{Schema}.Table1).

I haven't tried it (yet), but I would assume that if you don't specify the {DataSource}, the one on the properties pane is used.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Wed Nov 16, 2005 11:47 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If a data source name is not specified, the database pointed to by the node's data source attribute is used.

Not how I expected this to be implemented, but pretty cool still.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
viswanath
PostPosted: Wed Nov 16, 2005 11:49 am    Post subject: link Reply with quote

Apprentice

Joined: 09 Jun 2005
Posts: 33

can u suggest a link if u find a scenario on this task.....


thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 16, 2005 11:52 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

All the information you need is right here in this thread.

You just specify the different databases in your esql by their ODBC data source name.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
viswanath
PostPosted: Wed Nov 16, 2005 1:07 pm    Post subject: thanks Reply with quote

Apprentice

Joined: 09 Jun 2005
Posts: 33

thank u very much

bye
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Rgarding multiple databases
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.