void returncode_check (SQLHDBC handle,
SQLHSTMT hstmt,
int rc,
char *str);
static void rc_to_str (int rc,
char *str);
/***************************************************************************
*
* server_connect -- connect to server
*
*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
*
* Purpose:
* This function establishes a connection to the server.
*
*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
*
* Parameters:
* datasource == (char *) ODBC datasource name.
* henv == (SQLHENV *) Pointer to the ODBC environment.
* SQLHDBC == (SQLHDBC *) The ODBC connection handle.
*
* RETURN