Answers for "foreach postgresql"

SQL
4

for loop postgresql

FOR r IN SELECT * FROM foo
    WHERE fooid > 0
    LOOP
        -- can do some processing here
        RETURN NEXT r; -- return current row of SELECT
    END LOOP;
Posted by: Guest on November-24-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language