Answers for "query has no destination for result data"

SQL
1

query has no destination for result data

/* you cannot junt do the select, you're supposed to use it in
the return as the code below */

CREATE OR REPLACE FUNCTION fun() RETURNS text AS $$
BEGIN
    --- ....
    RETURN(SELECT dblink_disconnect());
END
$$ LANGUAGE plpgsql;
Posted by: Guest on March-04-2021

Code answers related to "query has no destination for result data"

Code answers related to "SQL"

Browse Popular Code Answers by Language