UniDAC
Used to get the end position of the current statement.
TDAScript
property EndPos: Int64;
Use the EndPos property to get the end position of the current statement (the position of the last character in the statement) in a script.