Giter Site home page Giter Site logo

mssql-db-document's Introduction

SQL Server Database Documentation Generator

Create HTML documentation for a SQL Server database.

Description

Creates an HTML document that describes a SQL Server database. Output for each table includes columns, indexes, foreign keys, check constraints and up to ten rows of sample data. A quick jump tag list of all tables is placed at the top.

You can view sample output based on Microsoft's AdventureWorks2014 database here:

GitHub Pages

This is very work-in-progress for a specific need but I'm hoping to make it more robust for general usage. Feel free to make comments or suggestion in the Discussions area.

Usage

The tool can be operated through command line arguments or a JSON configuration file. If neither a configuration file nor the four database-related arguments is provided the tool will attempt to load config.json.

The configuration file follows this format:

{
    "user": "username",
    "password": "userpassword",
    "server": "servername",
    "database": "databasename"
}

The config.json included in this package matches the above code and will not function without editing with real values. The file exists simply as a template.

The command line arguments are:

Argument Description
--config, -c file name File with JSON configuration data
--user, -u user name User with privileges to access the database
--password, -p user password Password for database user
--server, -s server name or IP Server computer name or IP address
--database, -d database name Name of the database on the server to document

Including --config or -c will override the other arguments if a file name is passed.

mssql-db-document's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.