sqldata/sqldb.cpp
// Get database type for ODBC API
Get database type for ODBC API
Get database type for ODBC API
short SqlDb::GetSubType(short db_types)
{
	short subtype = 0;
	SqlApiBase *api = (db_types == SQLDB_SOURCE_ONLY) ? _source_ca.db_api : _target_ca.db_api;
	if(api != NULL)
		subtype = api->GetSubType();
	return subtype;
}
short SqlDb :: GetSubType ( short db_types ) { short subtype = 0 ; SqlApiBase * api = ( db_types == SQLDB_SOURCE_ONLY ) ? _source_ca . db_api : _target_ca . db_api ; if ( api != NULL ) subtype = api -> GetSubType ( ) ; return subtype ; }
Get database type for ODBC API
Get database type for ODBC API