I have a query string in variable
suppose Select Now();
I want to execute it same like SQL do.
I use
Execute 'Select Now()';
But It throws an exception
prepared statement "SELECT now()" does not exist
and not allow me to execute it.
Is there any way to do that?
executein SQL, this is a PL/pgSQL statement. You need a function (or adoblock)