Home | Previous Page | Next Page   Large Object Locator DataBlade Module > Functions > Error Utility Functions >

lld_sqlstate()

This function translates integer error codes into their corresponding SQL states.

Syntax

API
mi_string* lld_sqlstate (error); 
   mi_integer                    error
ESQL/C
int* lld_sqlstate (int error);
error
is an error code.

Return Codes

On success, this function returns the SQL state value corresponding to the error code. On failure, returns NULL.

Important:
This function returns a pointer to a constant, not to an allocated memory location.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]