On Jan 23, 2006, at 3:27 AM, Marcos wrote:
> I need create SP that returns cursos so that I can work with them.
>
> I have many SQLs used for search records in database, then I will make
> SP to return the results.
>
> The example that I'm trying is:
I did not notice any obvious errors. It would help to know exactly
what problem you are having. In other words, what does
select * from fun_compras_calculado();
return and if it is not an error, why is it wrong?
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL