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 » Accessing db content into "Result Set"

Post new topic  Reply to topic
 Accessing db content into "Result Set" « View previous topic :: View next topic » 
Author Message
K_A
PostPosted: Thu Mar 03, 2005 7:09 am    Post subject: Accessing db content into "Result Set" Reply with quote

Apprentice

Joined: 10 Nov 2004
Posts: 32

Hi

Probably a very stupid question, but I have not done db access for years.

In a compute node I need to access several rows in an Oracle db.
I have an Order number, and there are several rows in the table matching that order number. Doing a
SET resultset = (SELECT .....)

I guess implies that all occurences are automatically populating my resultset. But, how to declare this resultset? I am looking for a datatyp called "ARRAY" or "VECTOR" but it does not seem to exist.
I do NOT want the struc to be part of the message tree, rather a "temporary message structure", that I eventually can loop thru.

So, how to do it?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 03, 2005 7:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ESQL doesn't have arrays or vectors. It has scalars and trees.

You can't declare a new tree.

You can, however, pretty freely use the LocalEnvironment and Environment trees as you like.
_________________
I am *not* the model of the modern major general.
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 » Accessing db content into "Result Set"
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.