How to connect to SQL Server 2005 database through Ruby

前端 未结 2 1814
猫巷女王i
猫巷女王i 2021-01-23 15:51

How to connect to SQL Server 2005 database through Ruby in Windows

相关标签:
2条回答
  • 2021-01-23 16:07

    "Ruby, ADO, and SQLServer" is an example using Ruby and ADO to connect to and query an SQL Server database.

    And "Using Ruby & SQL-DMO to Automate SQL Server Tasks" demonstrates how to use Ruby and SQL-DMO to automate server tasks.

    0 讨论(0)
  • 2021-01-23 16:18

    I have luck using FreeTDS and TinyTDS on Linux. I prefer that path because messing with ODBC was a pain.

    In addition, I recommend using the Sequel ORM, because it helps remove the task of dealing with different flavors of SQL, allowing us to concentrate on programming, not writing queries that are tied to a particular DBM.

    0 讨论(0)
提交回复
热议问题