Home | Previous Page | Next Page   Function Descriptions >

mi_get_db_locale( )

The mi_get_db_locale( ) function returns the value of the current database locale.

Syntax

mi_char *mi_get_db_locale(void);
Valid in Client LIBMI Application? Valid in User-Defined Routine?
Yes Yes

Usage

The mi_get_db_locale( ) function returns the value of the current database locale, which indicates the IBM Informix GLS locale that the database server uses. The server-locale name gives information about language, territory, code set, and optionally other information about the database server. For more information about the server locale, see the IBM Informix: GLS User's Guide.

The database server locale can be one of the following:

Return Values

An mi_char pointer
is a pointer to the name of the current database locale
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]