Categorygithub.com/cbergoon/sqldataload
modulepackage
0.0.0-20210926003834-c32ebe447c58
Repository: https://github.com/cbergoon/sqldataload.git
Documentation: pkg.go.dev

# README

sqldataload

Docs Version

sqldataload reads and executes a directory of sql files on a provided SQL Server database.

Documentation

See the docs here.

Install

go install github.com/cbergoon/sqldataload

Example Usage

USAGE: Usage: sqldataload [--directory=<directory>] <username>:<password>@<address>:<port>/<database>

To generate execute sql files provided table-data directory in specified directory use:

$ sqldataload --directory=./table-data '<username>:<password>@127.0.0.1:1433/AdventureWorks'

To use windows authentication:

$ sqldataload --directory=./table-data '<domain>\<username>:<password>@127.0.0.1:1433/AdventureWorks'

License

This project is licensed under the MIT License.