Sha256: 902311a3cf83b13e2847a6fb36bb1b6e97611a1e6c754e71745801b9685deacf

Contents?: true

Size: 720 Bytes

Versions: 37

Compression:

Stored size: 720 Bytes

Contents

module ActiveRecord
  module ConnectionAdapters
    module SQLServer
      module DatabaseLimits

        def table_alias_length
          128
        end

        def column_name_length
          128
        end

        def table_name_length
          128
        end

        def index_name_length
          128
        end

        def columns_per_table
          1024
        end

        def indexes_per_table
          999
        end

        def columns_per_multicolumn_index
          16
        end

        def in_clause_length
          65_536
        end

        def sql_query_length
          65_536 * 4_096
        end

        def joins_per_query
          256
        end

      end
    end
  end
end

Version data entries

37 entries across 37 versions & 3 rubygems

Version Path
activerecord-jdbcsqlserver-adapter-51.1.0 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-jdbcsqlserver-adapter-50.1.0 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-jdbcsqlserver-adapter-51.0.1 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-jdbcsqlserver-adapter-51.0.0 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-jdbcsqlserver-adapter-50.0.0 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.1.6 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.0.8 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.1.5 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.1.2 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.1.1 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.1.0 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-4.2.18 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.0.7 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.0.6 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.0.5 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.0.4 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.0.3 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-4.2.17 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-4.2.16 lib/active_record/connection_adapters/sqlserver/database_limits.rb
activerecord-sqlserver-adapter-5.0.1 lib/active_record/connection_adapters/sqlserver/database_limits.rb