On Sunday, December 13, 2020, Muthukumar.GK <
muthankumar@gmail.com> wrote:
v_query := ' OPEN C1 FOR SELECT * FROM public."Bankdetails"';
EXECUTE (v_query);
You put the pl/pgsql OPEN command into a string and sent it to the SQL engine via EXECUTE and the SQL engine is complaining that it has no idea what you want it to do.
David J.