On Thu, Nov 11, 2021 at 6:23 AM Theodore M Rolle, Jr. <stercor(at)gmail(dot)com>
wrote:
> May we have an example?
>
Here are the docs detailing writing dynamic SQL commands in pl/pgsql.
https://www.postgresql.org/docs/current/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN
David J.