|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Multiple DataSource in a single Compute Node |
« View previous topic :: View next topic » |
Author |
Message
|
Bichu |
Posted: Fri May 12, 2017 6:46 am Post subject: Multiple DataSource in a single Compute Node |
|
|
Centurion
Joined: 16 Oct 2011 Posts: 124 Location: London
|
HI Guys,
Can we have a single compute node configured with multiple data source names. In my requirement, I will identify the input message and based on that , I need to query the db. The query remains same but database server changes. Is there anyway to accomplish this in a single compute node?
I have 3 different DB's for this residing in 3 different servers. ALl are of type Oracle. |
|
Back to top |
|
 |
Vitor |
Posted: Fri May 12, 2017 7:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Yes.
This question has been asked and answered before. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
missing_link |
Posted: Fri May 12, 2017 7:26 am Post subject: |
|
|
 Acolyte
Joined: 08 Jan 2004 Posts: 60
|
The docs for SELECT function state:
[quote]FROM clause FieldReferences can contain expressions of any kind (for example, Database.{DataSource}.{Schema}.Table1).
You can calculate a field, data source, schema, or table name at run time.[/quote]
So I assume that you evaluate and set the Datasource as appropriate at runtime in your ESQL. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|