    # File lib/active_record/vendor/db2.rb, line 219
        def bind(sql, args)                #does not use SQLBindParams
          arg_index = 0
          result = ""
          tokens(sql).each do |part|
            case part
            when '?'
              result << "'" + (args[arg_index]) + "'"  #put it into quotes
              arg_index += 1
            when '??'
              result << "?"
            else
              result << part
            end
          end
          if arg_index < args.size
            raise "Too many SQL parameters"
          elsif arg_index > args.size
            raise "Not enough SQL parameters"
          end
          result
        end