On 2012-12-01, Peter Kroon <plakroon(at)gmail(dot)com> wrote:
> --f46d043be1f4bd2dec04cfcfbd6a
> Content-Type: text/plain; charset=ISO-8859-1
>
> Mmmmm.......
>
> How do I execute dynamic sql that starts with an if statement.
"if" is not SQL.
> I'm converting mssql code to pgsql.
probably best to rewrite at a higher level.
--
⚂⚃ 100% natural