sql - How to Store data using 'INTO' Postgresql -
I want to store the value of this query inside a stored process:
Select
but mydata "There is a known variable that does not exist. Is there any way to store those results in a variable in postgra?
Believing that you are trying to do this, in relation to the PL / PGSLL function, you The first variables must be declared.
Create or change function FOBOR returns FOBAR () $$ as DECLARE MYDATA RECORD as zero; Select me; - Now do something with my data $$ LANGUAGE plpgsql;
See:
Comments
Post a Comment