Skip to content

bradoyler/mssql-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mssql-export

A node.js library (with CLI) to export MS-SQL table to CSV file

Install CLI

npm install -g mssql-export

Usage: mssql-export [options] <table>

  Options:
    -h, --help                       output usage information
    -o, --output <output>            The output file
    -c, --credentials <credentials>  Your credentials file
    -l, --limit <limit>              Row limit (TOP)

Setup config

copy config.example.json >> /config.json and input credentials

Test your config

$ npm test

(see test folder)

TODOs:

  • Add Mocha tests

About

A node.js library (with CLI) to export MS-SQL table to CSV file

Resources

Stars

Watchers

Forks

Packages

No packages published