FireDAC.Stan.Error.TFDDBError.CommandTextOffset

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CommandTextOffset: Integer read FCommandTextOffset write FCommandTextOffset;

C++

__property int CommandTextOffset = {read=FCommandTextOffset, write=FCommandTextOffset, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Stan.Error.pas
FireDAC.Stan.Error.hpp
FireDAC.Stan.Error TFDDBError

Description

Returns the offset from the beginning of a SQL text command.

Use CommandTextOffset to get an offset from the beginning of a SQL text command, where a DBMS failed to parse a SQL command.

This property is greater than or equal to zero for syntax errors and is equal to -1 for other errors. Note that it is not applied to an original SQL text command, such as SQL, but to an SQL text command sent to a DBMS, such as Text.

See Also