ODAC
Used to return a SQL statement with expanded macros.
TCustomDASQL
property FinalSQL: string;
Read the FinalSQL property to return a SQL statement with expanded macros. This is the exact statement that will be passed on to the database server.