(no version information, might be only in CVS)
PDOStatement->errorCode() -- Fetch the SQLSTATE associated with the last operation on the statement handleIdentical to PDO->errorCode(), except that PDOStatement->errorCode() only retrieves error codes for operations performed with PDOStatement objects.