You are here: Oracle Stored Procedure « PHP Programming Language « IT news, forums, messages
Oracle Stored Procedure

Posted by paddy_nyr on 11/16/82 11:29

What is the correct syntax for calling an oracle stored procedure and
getting a retrun value? I created a simple procedure on my oracle database
for testing and yes I know I could do this in a function but I have a more
complex procedure that I have created for the creation of reports. I'm
trying to use ora_parse and ora_bind without much luck. Any help would be
much appreaciated.

Thanks

CREATE OR REPLACE PROCEDURE P_PHP_PROC_CALL (
p_survey_code IN VARCHAR2,
p_request_id OUT NUMBER
)
AS
BEGIN

IF p_survey_code = 'XYZ' THEN
p_request_id := 12345;
END IF;
END;
/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация