docs: def _get_sql_server_ver(self):
          """
          Returns the version of the SQL Server in use:
          """
          if self._ss_ver is not None:
              return self._ss_ver
          cur = self.connection.cursor()
          ver_code = None
          if not self.is_db2 and not self.is_openedge:
              cur.execute("SELECT CAST(SERVERPROPERTY('ProductVersion') as varchar)")
              ver_code = cur.fetchone()[0]
              ver_code = int(ver_code.split('.')[0])
          else:
              ver_code = 0
          if ver_code >= 11:
              self._ss_ver = 2012
          elif ver_code == 10:
              self._ss_ver = 2008
          elif ver_code == 9:
              self._ss_ver = 2005
          else:
              self._ss_ver = 2000
          return self._ss_ver