activerecord-sqlserver-adapter icon indicating copy to clipboard operation
activerecord-sqlserver-adapter copied to clipboard

SQL Server Adapter For Rails

Results 53 activerecord-sqlserver-adapter issues
Sort by recently updated
recently updated
newest added

## Issue I'm trying to dump all schemas from a legacy db (not on my machine), it's just one db. But the only schema i get is dbo and it's...

## Issue irb(main):001:0> UserT.count SQL (4.9ms) USE [GenDB] (5.5ms) SELECT COUNT(*) FROM [UserT] => 2 irb(main):003:0> UserT.first UserT Load (9.6ms) EXEC sp_executesql N'SELECT [UserT].* FROM [UserT] OFFSET 0 ROWS FETCH...

need-info

This PR resolves the issue https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/issues/859. Since it adds support to `insert_on_duplicate_skip` it also resolves https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/issues/847. The PR is in early stages. I'm exploring adding `supports_insert_on_duplicate_skip` first (insert_all). Upsert_all is...

rails-6.0
feature
rails-6.1

## Issue `bundle exec rails db:seed` throws `ActiveRecord::ConnectionAdapters::SQLServerAdapter does not support skipping duplicates`. ## Expected behavior A single SQL INSERT should be generated and executed ## Actual behavior When using...

bug

## Issue Rails 6 introduced [`upsert_all`](https://apidock.com/rails/v6.0.0/ActiveRecord/Persistence/ClassMethods/upsert_all) and the SQL Server adapter does not implement it yet. There's no such thing as MySQL's `ON DUPLICATE KEY UPDATE` in SQL Server, but...

rails-6.0
feature
accepting-pr

coerce types for config parameters; add missing config parameters recognized by TinyTDS -- Issue #740 see also: https://github.com/rails-sqlserver/tiny_tds/issues/461

This is what I got. PR for specs and questions. This PR allows `rake db:schema:dump` to dump the database schema for all microsoft table schemas. It does this through exposing...

need-info

- Drop strict gem dependency on tiny_tds. - Add gem dependency for tests on new (un-published) gem sqljdbc4 which bundles the MS jdbc driver. - Implement a thin ruby jdbc...

need-info

## Issue The adapter is translating Rails models decimal attributes as nvarchars (in SQL Server 2019 they are defined as numerics with different precisions). If I change the attributes to...