INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_error_sql_state()

The mi_error_sql_state() function copies the SQL error state from the error descriptor into a buffer as a sequence of five ASCII characters with a null byte at the end.

Syntax

Usage

This function is intended for use with the MI_ERROR_DESC structure passed to a callback routine when the callback exception is of type MI_Exception.

Return Values

MI_OK

The function was successful.

MI_ERROR

The function was not successful.

Related Topics

For additional information, see the descriptions of the following functions: mi_errmsg(), mi_error_desc_copy(), mi_error_desc_is_copy(), mi_error_desc_destroy(), mi_error_level(), and mi_error_sqlcode().




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.