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 to call oracle stored funcion from ESQL,pls help me

Post new topic  Reply to topic
 How to call oracle stored funcion from ESQL,pls help me « View previous topic :: View next topic » 
Author Message
Anghel
PostPosted: Mon Jun 22, 2009 1:27 am    Post subject: How to call oracle stored funcion from ESQL,pls help me Reply with quote

Newbie

Joined: 22 Jun 2009
Posts: 3

Hello,

How to call oracle stored funcion from ESQL?

Thanks
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Mon Jun 22, 2009 1:55 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Do some homework?

I took the zany approach of typing "esql call stored procedure" into google and hit the first link...

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac17040_.htm
Back to top
View user's profile Send private message
Anghel
PostPosted: Mon Jun 22, 2009 2:04 am    Post subject: Reply with quote

Newbie

Joined: 22 Jun 2009
Posts: 3

I don't need to call stored procedure, I need to call stored function
Back to top
View user's profile Send private message
mgk
PostPosted: Mon Jun 22, 2009 2:14 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

WMB treats Oracle Stored Functions and Stored Procedures as the same thing. The only difference is that Functions have a return value.


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
Anghel
PostPosted: Mon Jun 22, 2009 2:30 am    Post subject: Reply with quote

Newbie

Joined: 22 Jun 2009
Posts: 3

From ESQL I can't create function with language database, only procedure. But when define procedure I can't returns value from function.

Give me pls example
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Mon Jun 22, 2009 2:41 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Did you read the link I sent you? did it not help?

I can give no better advice than that.
Back to top
View user's profile Send private message
mgk
PostPosted: Mon Jun 22, 2009 3:25 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

I tried to explain above. ESQL Procedures with LANGUAGE DATABASE can be used to CALL Oracle Stored Functions as ESQL Procedures CAN have RETURN values. Use the link above to the docs and try it and you will see it works!
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to call oracle stored funcion from ESQL,pls help me
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.