On Sunday, July 25, 2021, Avi Weinberg <
AviW@gilat.com> wrote:
Is it possible to write the view syntax once and it will do some type of SELECT IF EXISTS.
Not with a virew. Dynamic SQL in a function can be used to build a query at runtime that includes only tables that exist.
David J.