activerecord-sqlserver-adapter
activerecord-sqlserver-adapter copied to clipboard
SQL Server Adapter For Rails
Rails version 6 multi database using for example if run db:rollback got error: --trace log ``` ** Invoke db:rollback (first_time) ** Invoke db:load_config (first_time) ** Invoke environment (first_time) ** Execute...
Today, we have a tool called sqlpackage.exe which is a .NET command line app that’s built over a .NET library called DacFX and runs on Windows. This tool supports SQL...
SQL statements are generated using stored procedures, but SQL Server will truncate varchar values to the limit as given in the column. As an example, I create a migration like...
I've got a model called Supply with a column called `average_weight` defined in a legacy database as `numeric(38,2)`. ```ruby class Supply < ApplicationRecord attribute :average_weight, :float, default: 1 end ```...
https://channel9.msdn.com/Shows/Data-Exposed/mssql-cli-an-open-source-and-cross-platform-CLI-for-SQL-Server?WT.mc_id=dlvr_twitter_ch9
#### NOTE: Please update the reproduction script database adapter to `sqlserver` #### Reproduction steps: ``` # frozen_string_literal: true begin require "bundler/inline" rescue LoadError => e $stderr.puts "Bundler version 1.10 or...
Noticed that when i tried to divide a string number which i converted to_f and then used as a divider, when the float is 0.0 ruby returns `Infinity` instead of...
reconcile config options with TinyTDS and documentation; coerce config values to expected types extended discussion at: https://github.com/rails-sqlserver/tiny_tds/issues/461 copied here => ---------- TinyTDS v2.1.2 and current HEAD ## Current State: At...
I've been using this library for a long time on a database with compatibility level 100, and I just recently connected to another one with compatibility level 140. It's this...
We have a Rails application that runs on-premise in Windows VDI environments where SQL Server is always the DB of choice. We'd like to upgrade from Rails 4 to 5,...