Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

pipe sql to mssqlx and get json out

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 buildRow.js
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
Octocat-spinner-32 readme.md
Octocat-spinner-32 sql.js
readme.md

MSSqlx

0.0.1

A microsoft sql server nodejs command-line interface

Install

npm install mssqlx -g

Setup

Create a config.json file in the directory you want to use mssqlx

{
  "production": {
    "server": "127.0.0.1",
    "userName": "sa",
    "password": "",
    "options": { "database": "master" }
  }
}

Usage

echo "select id, name from sysobjects" | mssqlx | prettyjson

Roadmap

This projects goal is to create an awesome cli experience for querying mssql, it hopes the follow the footsteps of the futon-cli

This first release is a mvp just to put some mileage on the tedious mssql driver and identify any issues.

Feedback

Please submit feedback via Github Issues

License

MIT

Something went wrong with that request. Please try again.