I am using the PostgreSQL version 12 database server and development in c# using visual studio. I want to move my old SQL server procedures to the PostgreSQL database. But the old procedures return a result set that's not possible to do the same in PostgreSQL. The PostgreSQL needs to write that logic into a function and then this function call into a procedure that creates on the PostgreSQL database.
I found a link for reference:
how can I return the result set from the stored procedure in PostgreSQL?
Thanks In Advance.
select * from function_returning_result(...)voidforinsert/updateoperations same as SP.