return-next Questions
3
Solved
I am a newbie in PostgreSQL (using v9.0) and wanted to know if using return next and Return query in the same function is possible without exiting the function before attaching the results in the r...
Deepfreeze asked 23/4, 2014 at 15:49
4
Solved
I am trying to write a loop in a PL/pgSQL function in PostgreSQL 9.3 that returns a table. I used RETURN NEXT; with no parameters after each query in the loop, following examples I found, like:
pl...
Accomplishment asked 27/12, 2014 at 0:4
2
I have two tables with date-columns (year, month, day and a combination of the three called "stamp") and associated values (avalue). I need my function to return the ratio between two tab...
Kelleykelli asked 10/7, 2013 at 12:17
2
Solved
I have a plpgsql function in PostgreSQL 9.2 which returns a table. The function runs several SELECTs that return the same columns as the function and then either returns those results or raises an ...
Pneumonia asked 26/12, 2012 at 11:6
1
© 2022 - 2024 — McMap. All rights reserved.