# File lib/jdbc_adapter/jdbc_sybase.rb, line 46 def remove_index(table_name, options = {}) execute "DROP INDEX #{table_name}.#{index_name(table_name, options)}" end
If limit is not set at all, we can ignore offset; if limit is set but offset is zero, use normal select with simple SET ROWCOUNT. Thus, only use the temp table if limit is set and offset > 0.
# File lib/jdbc_adapter/jdbc_sybase.rb, line 30 def use_temp_table? !@limit.nil? && !@offset.nil? && @offset > 0 end
Generated with the Darkfish Rdoc Generator 2.