def METHOD_NAME(self, connection):
    vers = connection.exec_driver_sql("select @@version").scalar()
    m = re.match(r"Microsoft .*? - (\d+)\.(\d+)\.(\d+)\.(\d+)", vers)
    if m:
        return tuple(int(x) for x in m.group(1, 2, 3, 4))
    else:
        return None