sasql_stmt_error

Prototype
string sasql_stmt_error( sasql_stmt $stmt )
Description

Returns the error text 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

A string describing the error. For a list of error messages, see SQL Anywhere error messages.

Related functions