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 » selecting unique values from a column in a database table

Post new topic  Reply to topic
 selecting unique values from a column in a database table « View previous topic :: View next topic » 
Author Message
mquser1
PostPosted: Wed Jan 26, 2005 10:55 am    Post subject: selecting unique values from a column in a database table Reply with quote

Novice

Joined: 03 Jun 2004
Posts: 23

Hi all,

Is it possible to use the esql SELECT statement to do this? Or do I have to write more lines of code than that to accomplish? Or do I have to write a stored procedure so I could use the database's sql SELECT with which we could use the UNIQUE qualifier to obtain the unique values.

Warm regards.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Jan 26, 2005 12:30 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

I don't think it's possible with the built in ESQL database calls. But take a look at PASSTHRU, as you can issue any SQL with this.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 26, 2005 12:37 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ESQL Select does not have a UNIQUE clause.

Nor does it have an ORDER BY or GROUP BY clause.

All three of these would be very nice to have. Maybe in a future release.
_________________
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 » selecting unique values from a column in a database table
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.