SQL_GetError Function

Returns the error reported by the last query.

bool SQL_GetError(Handle hndl, char[] error, int maxlength)


Handle hndl

A database, query, OR statement Handle.

char[] error

Error buffer.

int maxlength

Maximum length of the buffer.

Return Value

True if there was an error, false otherwise.


Invalid database, query, or statement Handle.