PgDAC
Used to determine the TDAScript object the SQL Statement belongs to.
TDAStatement
property Script: TDAScript;
Use the Script property to determine the TDAScript object the SQL Statement belongs to.