Socket
Socket
Sign inDemoInstall

@ads-vdh/sqlutil

Package Overview
Dependencies
114
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ads-vdh/sqlutil

A set of command line utilities for MS SQL Server


Version published
Weekly downloads
6
Maintainers
4
Install size
15.3 MB
Created
Weekly downloads
 

Readme

Source

SQL CLI

A set of command line utilities for MS SQL Server

Install

npm install @ads-vdh/sqlutil -g

Usage (Examples)

sqlutil -s "SELECT 2 AS Age"        -t "SELECT 1 + 1 AS Age"    -sv ServerName -db dbName
sqlutil -s "EXEC dbo.GetClient1 17" -t "EXEC dbo.GetClient2 17" -sv ServerName -db dbName

Env File (Optional)

Optionally add an env file to specify server name and database name with the following structure:

SQL_CLI_SERVER=YourServerName
SQL_CLI_DATABASE=YourDatabaseName

Keywords

FAQs

Last updated on 03 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc