Skip to content

bwmarrin/sql2xlsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

sql2xlsx

Go report Discord Gophers

A simple program to convert SQL rows into Microsoft Excel XLSX files.

This example is built to work with MS SQL driver however it can easily be modified to function with any other Go SQL driver.

For help with this program or general Go discussion, please join the Discord Gophers chat server.

Install & Build

This assumes you already have a working Go environment, if not please see this page first.

go get https://github.com/bwmarrin/sql2xlsx.git
cd sql2xlsx
go build

Usage

All options are required.

Usage of ./sql2xlsx:
  -h string
        SQL Server hostname or IP
  -u string
        User ID
  -p string
        Password
  -s string
        SQL Query filename
  -o string
        Output filename

Other handy tools

About

A simple program to convert SQL rows into Microsoft Excel XLSX files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages