Post new topic Reply to topic  [ 5 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator

Author Message
 Post subject:
PostPosted: Thu May 12, 2005 2:44 pm 
Offline
User avatar

Joined: Fri Feb 06, 2004 11:05 am
Posts: 115
Location: Costa Rica
I'd like to know if it's possible to invoke a stored procedure from TeleFlow. <br> <br>I've seen the SQL steps that issue SQL commands directly to a database, but no SQL step to invoke a stored procedure... <br> <br>BTW, I'm using Oracle 9i.


Back to top
 Profile  
 
 Post subject:
PostPosted: Thu May 12, 2005 2:52 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
You still use the SQL Statement step. If your stored procedure returns results, you will need to use a Fetch step to retrieve them, the same as for a SELECT statement.


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Thu May 12, 2005 3:12 pm 
Offline
User avatar

Joined: Fri Feb 06, 2004 11:05 am
Posts: 115
Location: Costa Rica
Interesting. Can you give me an example of what would I write in the SQL Statement step? <br> <br>The help text for that step just documents the use and syntax of direct SELECT statements... Will something like this work?: <br> <br>BEGIN <br> MyProcedure (p_param1, p_param2); <br>END; <br> <br>... and then using SQL Fetch to retrieve the output value of, say, p_param2 ?


Back to top
 Profile  
 
 Post subject:
PostPosted: Tue May 24, 2005 10:21 am 
Offline

Joined: Wed May 05, 2004 5:48 am
Posts: 5
Location: Netherlands
Try this: <br> <br>execute MyProcedure @p_param1, @p_param2 <br> <br>where both the p_param1 and @p_param2 are variables in Teleflow <br> <br>(I work on MS SQL Server but think it should work on oracle as well) <br> <br>Hope this works ;) <br> <br>Rudi


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Tue May 24, 2005 10:42 am 
Offline

Joined: Tue Mar 18, 2003 5:52 pm
Posts: 54
Location: Canada
Thank you, Rudi! The enGenic team appreciates input from TeleFlow developers on the DevNet.


Back to top
 Profile WWW 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator


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 post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.