sqlany_sqlstate Function

Retrieves the current SQLSTATE.

Syntax

sqlany_sqlstate ( $conn )

Parameters

Returns

Returns a scalar value that is the current five-character SQLSTATE.

Example

sql_state = api.sqlany_sqlstate( conn )