OnBeforeExecute event occurs immediately before SQL script execution by ExecSQL method.
Syntax:
OnBeforeExecute: TNotifyEvent;