PgDAC
Creates a macros from the passed SQL statement.
TMacros
procedure Scan(const SQL: string);
Call the Scan method to create a macros from the passed SQL statement. On that all existing TMacro objects are cleared.