Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config support for MsSQL #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

config support for MsSQL #47

wants to merge 1 commit into from

Conversation

vincent
Copy link

@vincent vincent commented Jan 19, 2015

Hi,
Here are basic config for supporting mssql.

The main culprit now is the mssql command, I personally choose to use the node one : https://github.com/patriksimek/node-mssql

It is working quite well but does not support the stdin method, used here:

cmd = '%s < "%s"' % (command, self.tmp.name)

So I made a tiny wrapper for it:

#!/bin/bash

for line in "`cat`"; do
   /usr/local/bin/mssql $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} -q "$line"
done

It is working well on my mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant