    # File lib/active_record/connection_adapters/frontbase_adapter.rb, line 605
          def next_sequence_value(sequence_name)
            unique = select_value("SELECT UNIQUE FROM #{sequence_name}","Next Sequence Value")
            # The test cases cannot handle a zero primary key
            unique.zero? ? select_value("SELECT UNIQUE FROM #{sequence_name}","Next Sequence Value") : unique
          end