# TinyTDS for import

**URL:** <https://meta.discourse.org/t/tinytds-for-import/42884>\
**Category:** Development\
**Created:** [20. April 2016 um 14:48 UTC](https://meta.discourse.org/t/tinytds-for-import/42884 "2016-04-20T14:48:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Kevin\_McKinney](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kevin_mckinney/32/54497_2.png) [@Kevin\_McKinney](https://meta.discourse.org/u/Kevin_McKinney)\
**Post date:** [20. April 2016 um 14:48 UTC](https://meta.discourse.org/t/tinytds-for-import/42884/1 "2016-04-20T14:48:06Z")

</div>

I’m importing from a Snitz forum, which doesn’t have an existing import script. I’m not a Ruby developer, so I’m hacking things together as I go.

Snitz uses an MS SQL Server backend, and when I look up “Ruby MS SQL Server” everything seems to point to TinyTDS. I’m able to do that in Ruby 2.3.0, but when I try it in my script I run into dependency issues. It seems like the Docker container is running Ruby 2.0.0 and I’m not able to get TinyTDS to work because of dependency issues with activerecord and other gems (I think? Again, not really comfortable with Ruby or Rails, or Linux for that matter).

So I’m currently exporting things to a CSV file and then importing from there as a workaround, but I was curious if there was something I’m just missing in terms of getting an import script to connect to SQL. There’s probably a way to connect using something other than TinyTDS but I’m way out of my depth already and I was afraid of breaking the entire site (_again_… I restored my VM several times during this process because I hosed things while trying to bend things to my will).

---

_[View the full topic](https://meta.discourse.org/t/tinytds-for-import/42884)._
