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 » Calling a Oracle function from ESQL

Post new topic  Reply to topic
 Calling a Oracle function from ESQL « View previous topic :: View next topic » 
Author Message
md.sadruddin
PostPosted: Wed Mar 24, 2010 7:18 am    Post subject: Calling a Oracle function from ESQL Reply with quote

Novice

Joined: 27 Aug 2009
Posts: 12

Hi,

Can we call a oracle function (not Stored Procedure) from ESQL?
If so, could people give me some hints?

(I am using WMB 6.1)

Thanks very much in advance.

regards,
salman
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 24, 2010 7:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

What function does Oracle have that ESQL does not that you need to call?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Mar 24, 2010 7:49 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Vitor wrote:
What function does Oracle have that ESQL does not that you need to call?
LOL
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Mar 24, 2010 7:51 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

From an ESQL point of view, Oracle Stored Functions are the same as Stored Procedures, except they return a value. As long as the data types the procedure takes are supported (same at stored procedures) you simply define it the same as you would a Procedure, but with the addition of a RETURNS clause..

Kind Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
md.sadruddin
PostPosted: Wed Mar 24, 2010 10:27 am    Post subject: Reply with quote

Novice

Joined: 27 Aug 2009
Posts: 12

thanks MGK ..
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 » Calling a Oracle function from ESQL
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.