-
Notifications
You must be signed in to change notification settings - Fork 40
Support for MSSQL #120
Comments
This has already been addressed, please see issue: #52 |
Per Issue #52 for some reason all my my executions of queries performed on Sublime Text 3 on MacOS, result in the following output:
|
@mkormendy |
I've added basic support for MSSQL in the recent pull request #135. |
@tkopets re: #120 (comment), no it never worked. I performed some testing on the command line directly with MacOS homebrew version of sqlcmd. While the format is identical to the Windows CLI,.. SQLTools seems to not wait for the response from the sqlcmd command before cutting the process off, using the configuration suggested in issue #52. Let me pull your latest changes and test. |
By the way there is a release version already available. |
Yeah I tapped the Homebrew install on the release cask, so I'm working with the latest. |
I was able to set it up, but I get a different error now:
The command line method still works properly and outputs the records. |
Can you post the command line that works for you? |
I started testing
Here is a simple test I performed: Until I'm not even sure where to report this bug. |
Hrmm .. when I run the following on my Mac at the bash prompt:
It returns:
I don't need to pipe the query from an echo statement into the command or otherwise .. it just returns the results directly. I have posted an issue on the github repo for the homebrew installer for the sqlcmd tools. The maintainer of the installer is also the author of the blog post, so hopefully he will be able to pass the issue along to the internal MS team. |
Thanks for submitting the bug request to homebrew installer project!!! Yeah, executing a single command with On Windows |
Just for info; It would be great if nothing is selected, on run, whole code is executed; and if portion of code is selected, only that part is executed. This schema is in MS SQL SMS. I'm posting under this issue because I'm not sure is it global decision or mssql case only. |
@nikme |
@tkopets in can test it tomorrow also test your pull request. |
Hey guys, could you please test the pull request #167 ? It's supposed to fix this problem, but it's a quite ugly. Till MS solves sqlcmd problem, we can work it around. |
Apologies for getting back just now, I will test this over the weekend. |
Great! |
@mkormendy |
I tested this. It works as expected now! SUCCESS! |
Issue Type
Description
No examples/support for MSSQL connections currently. Please help to support Microsoft SQL connections.
The text was updated successfully, but these errors were encountered: