PgDAC
Changes the macros in the passed SQL statement to their values.
TMacros
procedure Expand(var SQL: string);
Call the Expand method to change the macros in the passed SQL statement to their values.