Renames a CTE: its declaration and every reference the scope analysis binds to it (FROM and
JOIN sources, qualifiers such as Old.ID and Old.* where the source has no alias of its
own). String literals, aliases and same-named columns are never touched. The new name is
always quoted with the dialect's writer. By default the first CTE named oldName is renamed,
leading WITH clauses first; pass cte to choose one.
Renames a CTE: its declaration and every reference the scope analysis binds to it (FROM and JOIN sources, qualifiers such as
Old.IDandOld.*where the source has no alias of its own). String literals, aliases and same-named columns are never touched. The new name is always quoted with the dialect's writer. By default the first CTE namedoldNameis renamed, leading WITH clauses first; passcteto choose one.