MS SQL Ruby Gem

早过忘川 提交于 2019-12-10 12:53:43

问题


I need to write a ruby script to connect to an MS SQL Server database, but all of the threads I've found point to gems to tie ActiveRecord into MS SQL. Are there any gems that will let me do this similar to pg (for postgres https://github.com/ged/ruby-pg)? I just need to do some really simple remote queries, thanks so much!


回答1:


The best way to do it is using the tiny_tds gem https://github.com/rails-sqlserver/tiny_tds



来源:https://stackoverflow.com/questions/15961594/ms-sql-ruby-gem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!