brydavis / extractor

Extract, Transform, and Load

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extractor

Extract, transform, and load from a local or remote database into a local sqlite database.

Program requires a config.json in root directory:

{
	"password" : "MyPassword!123",
	"port"     : 1433,
	"server"   : "myserver.database.windows.net",
	"user"     : "UserMe",
	"database" : "demoDB"
}

Build and run the program.

When you see terminal prompt azure ~>, proceed using SQL.

Special commands:

  • run query.sql executes code in ./sql/query.sql and displays results in terminal
  • export query.sql results.json executes code in ./sql/query.sql and writes results to file results.json
  • exit or quit will close the terminal, exit the program, and return you to the command line



© 2015 MIT License # Info # Info

About

Extract, Transform, and Load


Languages

Language:Go 100.0%