ST_DBSQLError
TYPE ST_DBSQLError :
STRUCT
sSQLState : STRING(5);
nSQLErrorCode : DINT;
END_STRUCT
END_TYPE
sSQLState : Contains the 5 character error code which follows the SQL ANSI standard.
nSQLErrorCode : Contains the database specific error code .
If no error occured the structure contains the following values.:
sSQLState := '00000';
nSQLErrorCode := 0;
Requirements
Development environment | Target system type | PLC libraries to be linked |
---|---|---|
TwinCAT v2.10.0 | PC oder CX (x86) | TcDatabase.Lib |
TwinCAT v2.10.0 | CX (ARM) |