Occurs when tracing of SQL activity on database components is needed.
property OnSQL: TOnSQLEvent;
Write the OnSQL event handler to let an application trace SQL activity on database components. The Text parameter holds the detected SQL statement. Use the Flag parameter to make selective processing of SQL in the handler body.