You are here: oracle stored procedure? « PHP Programming Language « IT news, forums, messages
oracle stored procedure?

Posted by buzz on 10/24/06 01:21

HI all
am pretty new to php

the oracle blokes here at work have prepared a stored procedure they
say returns a recordset


==
c_cur := gi_house_api.get_house_asset_data('10A', '2', 3.5);
==


i am struggling to figure out how to get at the result set from php

am i correct with the following?

==
...
$mySet = "";
$stmt = OCIParse($conn, "begin: mySet := from
gi_rio_api.get_road_section_id(11); end;");

OCIBindByName($stmt,":mySet",&$mySet);
OCIExecute($stmt);
OCIResult($stmt,$mySet);

==

if so what do i do next to loop through the results set retrieving
values from the row?

regards and thanks
Buzz

 

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

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