code: public function listSequences($database = null)
      {
          $query      = "SELECT name FROM sysobjects WHERE xtype = 'U'";
          $tableNames = $this->_conn->fetchAll($query);
  
          return array_map([$this->_conn->formatter, 'fixSequenceName'], $tableNames);
      }
docs: lists all database sequences
  
  @param string|null $database
  @return array