def METHOD_NAME(self, connection):
    # eGenix suggests using conn.dbms_version instead
    # of what we're doing here
    dbapi_con = connection.connection
    version = []
    r = re.compile(r'[.\-]')
    # 18 == pyodbc.SQL_DBMS_VER
    for n in r.split(dbapi_con.getinfo(18)[1]):
        try:
            version.append(int(n))
        except ValueError:
            version.append(n)
    return tuple(version)