Forum OpenACS Q&A: problem with oracle procs and functions execution

Hi, Im having a weird problem,  Im trying to upgrade some packages.  In the processes it makes a call to a oracle function      apm_package_version.upgrade_p.

It suppose to return a number 0 or 1 , but it doesn't return anything.  When I try to execute the function in sqlplus works fine.  I dont know why it doesn't work when its called within a tcl page because when the server starts it loads all tcl libraries.

I have the same problem with other functions and procedures when I try to upgrade or install other packages. Any idea?