db_change_char_charset Function

Changes the application's CHAR character set for this connection.

Syntax

unsigned int db_change_char_charset(
SQLCA * sqlca,
char * charset );

Parameters

Returns

1 if the change is successful; 0 otherwise.

Remarks

Data sent and fetched using DT_FIXCHAR, DT_VARCHAR, DT_LONGVARCHAR, and DT_STRING types are in the CHAR character set.