Home > PHP > Function > > ingres_errsqlstate()

ingres_errsqlstate()

ingres_errsqlstate - Get the last SQLSTATE error code generated

Syntax

string ingres_errsqlstate (resource $link)

Arguments

  • link - The connection link identifier

Description

Returns a string containing the last SQLSTATE, or NULL if no error has occurred.

Version

PHP PECL ingres >= 1.1.0

Return value

Returns a string containing the last SQLSTATE, or NULL if no error has occurred.