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 » How do i save a result set?

Post new topic  Reply to topic
 How do i save a result set? « View previous topic :: View next topic » 
Author Message
MQDummy
PostPosted: Tue Jun 11, 2002 10:53 pm    Post subject: How do i save a result set? Reply with quote

Novice

Joined: 11 Jun 2002
Posts: 23

Hi,

I have a select statement in a compute node, which retrieves some records from a table.

How to assign the result set to ... a variable ??

How come i keep getting correlation errors, i did a
Database.tablename.columnname and it gave errors.

Thanks for your help!!!

Best Rgds
Back to top
View user's profile Send private message
TorpedoSTu
PostPosted: Wed Jun 12, 2002 1:12 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2001
Posts: 73

There's load of examples in the ESQL programming Giude ...

To select ONE value

SET myVar = THE (Select ITEM MyCol as MyCol from Database.Table as TB where condition....)

To Select a Result Set ...

SET LocalEnvironment.ResultSet[] = (Select col1 as x.col1, x.col2 as col2 etc from Database.Table as x where condition

Regs

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How do i save a 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.