Module: ActiveRecord::ConnectionAdapters::Sqlserver::DatabaseLimits

Included in:
ActiveRecord::ConnectionAdapters::SQLServerAdapter
Defined in:
lib/active_record/connection_adapters/sqlserver/database_limits.rb

Instance Method Summary collapse

Instance Method Details

#column_name_lengthObject



10
11
12
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 10

def column_name_length
  128
end

#columns_per_multicolumn_indexObject



30
31
32
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 30

def columns_per_multicolumn_index
  16
end

#columns_per_tableObject



22
23
24
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 22

def columns_per_table
  1024
end

#in_clause_lengthObject



34
35
36
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 34

def in_clause_length
  65536
end

#index_name_lengthObject



18
19
20
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 18

def index_name_length
  128
end

#indexes_per_tableObject



26
27
28
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 26

def indexes_per_table
  999
end

#joins_per_queryObject



42
43
44
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 42

def joins_per_query
  256
end

#sql_query_lengthObject



38
39
40
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 38

def sql_query_length
  65536 * 4096
end

#table_alias_lengthObject



6
7
8
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 6

def table_alias_length
  128
end

#table_name_lengthObject



14
15
16
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 14

def table_name_length
  128
end