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 » Appending to the list

Post new topic  Reply to topic
 Appending to the list « View previous topic :: View next topic » 
Author Message
prabuk
PostPosted: Wed Apr 02, 2003 12:24 pm    Post subject: Appending to the list Reply with quote

Novice

Joined: 14 Mar 2003
Posts: 19
Location: JerseyCity, NJ

Hi,

I want to append to the list, by using the following statement, it will always overwrite the list.
[code][size=7][color=brown]SET OutputRoot.XML.rules."domains"[] = (SELECT T.ID, T.TAG, T.VALUE FROM Database.domains AS T WHERE T.ID = domId AND T.TAG = domTagName);[/color][/size][/code]

Is there any union kind operators in ESQL? with which we could do something like this,

[code][size=7][color=brown]SET OutputRoot.XML.rules."domains"[] = (SELECT T.ID, T.TAG, T.VALUE FROM OutputRoot.XML.rules."domains"[]) UNION (SELECT T.ID, T.TAG, T.VALUE FROM Database.domains AS T WHERE T.ID = domId AND T.TAG = domTagName);[/color][/size][/code]

Thanks
Prabu
Back to top
View user's profile Send private message
prabuk
PostPosted: Wed Apr 02, 2003 1:43 pm    Post subject: Appending to the list Reply with quote

Novice

Joined: 14 Mar 2003
Posts: 19
Location: JerseyCity, NJ

Hi,

If not UNION, anybody know of any workaround to append rows to an existing list or concatenating two lists into one?

Tx
Prabu
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 » Appending to the list
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.