Hello,
I wish to return the SELECT statement.Ho can I achieve this?
DO $$
DECLARE v_some_id int=14;
BEGIN/*more queries here...*/SELECT 'this is text';END$$ LANGUAGE plpgsql;
Best,Peter Kroon