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 » Oracle database query from Message Broker

Post new topic  Reply to topic
 Oracle database query from Message Broker « View previous topic :: View next topic » 
Author Message
zico
PostPosted: Mon May 08, 2006 8:07 pm    Post subject: Oracle database query from Message Broker Reply with quote

Novice

Joined: 22 Jun 2005
Posts: 21

Hi,

How do i use the following SQL query in Message Broker ESQL statement.

Select max(A.Joining_DT) from EMP.EMPDetail A where A.Joining_DT < '12-Dec-9999'

It works fine with SQL Navigator or Toad database tool. Please be informed Joining_DT is date type field and the default date is stored as '12-Dec-9999'. My purpose is to pick the maximum date from the EMPDetail table (under EMP schema) which is less than the default date.

Can anyone please suggest what will be the best ESQL code to perform the query.

Thanks in advance.

Zico
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon May 08, 2006 8:51 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi zico,

Try PASSTHRU.

Regards.
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 » Oracle database query from Message Broker
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.