sasql_stmt_errno

Prototype
int sasql_stmt_errno( sasql_stmt $stmt )
Description

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

Parameters

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

Returns

An integer error code. For a list of error codes, see SQL Anywhere error messages sorted by SQLCODE.

Related functions