On 12/6/19 1:00 AM, İlyas Derse wrote:
I need to insert temp table from execute string query. How can I do ?
I'm trying like that but not working.
CREATE OR REPLACE FUNCTION public.testdyn
(
x integer
)
RETURNS TABLE
(
id bigint,
text character varying(4000)
)
AS $$
I need to insert temp table from execute string query. How can I do ? I'm
trying like that but not working.
CREATE OR REPLACE FUNCTION public.testdyn
(
x integer
)
RETURNS TABLE
(
id bigint,
text character varying(4000)
)
AS $$
DECLARE mysql TEXT;
BEGIN
crea