PgDAC
Used to get or set the text of an SQL statement.
TDAStatement
property SQL: string;
Use the SQL property to get or set the text of an SQL statement.