PgDAC
Used to get the start position of the statement in a script.
TDAStatement
property StartPos: integer;
Use the StartPos property to get the start position of the statement (the position of the first statement character) in a script.