sqlany_sqlstate( a_sqlany_connection *, char *, size_t) method

Retrieves the current SQLSTATE.

Syntax

public size_t sqlany_sqlstate ( a_sqlany_connection * sqlany_conn, char * buffer, size_t size)

Parameters

Returns

The number of bytes copied into the buffer.

Usage

For more information on SQLSTATE error messages, see SQL Anywhere error messages sorted by SQLSTATE.