(dbms)
return retVal
Returns major DBMS name from a given alias

    >>> aliasToDbmsEnum('mssql')
    'Microsoft SQL Server'
Returns major DBMS name from a given alias
Returns major DBMS name from a given alias
def aliasToDbmsEnum(dbms):
    """
    Returns major DBMS name from a given alias

    >>> aliasToDbmsEnum('mssql')
    'Microsoft SQL Server'
    """

    retVal = None

    if dbms:
        for key, item in DBMS_DICT.items():
            if dbms.lower() in item[0] or dbms.lower() == key.lower():
                retVal = key
                break

    return retVal
def aliasToDbmsEnum ( dbms ) : retVal = None if dbms : for key , item in DBMS_DICT . items ( ) : if dbms . lower ( ) in item [ 0 ] or dbms . lower ( ) == key . lower ( ) : retVal = key break return retVal