sql - How to Store data using 'INTO' Postgresql -


I want to store the value of this query inside a stored process:

Select > from Myname

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

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -