FireDAC.Stan.Error.TFDDBError.ObjName
Delphi
property ObjName: String read FObjName write FObjName;
C++
__property System::UnicodeString ObjName = {read=FObjName, write=FObjName};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Stan.Error.pas FireDAC.Stan.Error.hpp |
FireDAC.Stan.Error | TFDDBError |
Description
Returns a DBMS object name involved in an error or a warning.
Use the ObjName property value to get a DBMS object name involved in an error or a warning.
The ObjName property value is extracted from the error message text. Depending on the DBMS and the error, the value can be a table name in the "Object is not found" error, a constraint name in the "Constraint violated" error, etc. Note that some DBMSs do not return any object name as part of an error message. Then ObjName is empty.