Hi,
i have a problem with quoting in plpgsql. I try to insert dynamically
some conditions into a select statment but for some reason it does not work.
condition := '' AND price > 500 '';
SELECT INTO tmpRec * WHERE xxxxxx || condition || ORDER BY userId ;
What is the correct way to do this ?
Thanks
Alex