sasql_stmt_errno

Returns the error code for the most recently executed statement function using the specified statement resource.

Prototype

int sasql_stmt_errno( sasql_stmt $stmt )

Parameters

$stmt – A prepared statement resource that was returned by the sasql_prepare function.

Returns

An integer error code.