sqldata/sqlifmxapi.cpp
// Get data type name by code
Get data type name by code
Get data type name by code
void SqlIfmxApi::GetDataTypeName(SQLSMALLINT native_dt, std::string &name)
{
    if(native_dt == SQL_CHAR)
        name = "CHAR";
    else if(native_dt == SQL_DECIMAL)
        name = "DECIMAL";
    else if (native_dt == SQL_NUMERIC)
        name = "NUMERIC";
    else if (native_dt == SQL_TYPE_DATE)
        name = "DATE";    
}
void SqlIfmxApi :: GetDataTypeName ( SQLSMALLINT native_dt , std :: string & name ) { if ( native_dt == SQL_CHAR ) name = " " ; else if ( native_dt == SQL_DECIMAL ) name = " " ; else if ( native_dt == SQL_NUMERIC ) name = " " ; else if ( native_dt == SQL_TYPE_DATE ) name = " " ; }
Get data type name by code
Get data type name by code