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 » breeds1

Post new topic  Reply to topic
 breeds1 « View previous topic :: View next topic » 
Author Message
NickB
PostPosted: Thu Nov 01, 2001 4:28 am    Post subject: Reply with quote

Centurion

Joined: 20 May 2001
Posts: 107
Location: Zurich Financial Services

I wish to query an external database from a comput node and output the results to an XML message.

So for example, I can code the following:

SET "OutputRoot".XML.ClaimEvent.(XML.attr)AssignedOffice = THE
(SELECT ITEM T1.ASSGN_OFFC
FROM Database.C01 AS T1
WHERE T1.CLM_NBR = Parm);

However, if I wish to query 2 columns from the same row on the database to assign to 2 differently named XML fields, I do not want to issue two distinct queries as this would be inefficient.

How can I code this in my eSQL?
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 » breeds1
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.