sql2xlsx

command module
v0.0.0-...-a45aabc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2016 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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

Documentation

Overview

A simple example of quickly converting SQL result into an Excel file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址