Search Postgresql Archives

Recovering a row result

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody!
 
I'm migrating some sybase store procedures to postgres functions,
In sybase I can write:
--------------
create proc algo()
as
if exists (something)
  return -900;
else
  SELECT * from tabla
  return 0
-------------
 
Inside of my procedure I don't use the SELECT result, however I can recover the row result after the procedure execution using "db libraries".
 
I don't know if in postgres exists something like this, does anybody can help me?
 
thanks in advance!
 
 
Luis A. Perez Paz



--
paz, amor y comprensión
        (1967-1994)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux