# TinyTDS for import

**URL:** <https://meta.discourse.org/t/tinytds-for-import/42884>\
**Category:** Development\
**Created:** [2016 年 4 月 20 日午後 2:48 UTC](https://meta.discourse.org/t/tinytds-for-import/42884 "2016-04-20T14:48:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [2016 年 4 月 20 日午後 6:54 UTC](https://meta.discourse.org/t/tinytds-for-import/42884/3 "2016-04-20T18:54:30Z")

</div>

This seems to be working. If I understand what you’re doing above, I think the only thing I didn’t do was `apt-get install freetds-dev`, and then I only did `'bundle install --no-deployment'`.

That’s a neat trick to write to a file without installing an editor with echo. I of course had to install nano in order to edit the Gemfile.

I’m going to keep going down this path, because it would be a lot nicer to query the DB directly than this manual step of creating CSV files has been. Thanks!

---

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