To get SQLSTATE representation of error within SQL statement executed. Syntax: property ErrorSqlState: string; Description: The SQLSTATE code for the error. The SQLSTATE code identifies the type of error that has occurred; it can be used by applications to perform specific operations (such as error handling) in response to a particular database error. For a list of the possible SQLSTATE codes, see Appendix A, PostgreSQL Error Codes. This property is not localizable, and is always present. |