Giter Club home page Giter Club logo

plsql-and-sql-coding-guidelines's Introduction

Trivadis PL/SQL & SQL Coding Guidelines

Introduction

Trivadis published their guidelines for PL/SQL & SQL in 2009 in the context of the DOAG conference in Nuremberg. Since then these guidelines have been continuously extended and improved. Now they are managed as a set of markdown files. This makes the guidelines more adaptable for individual application needs and simplifies the continous improvement.

HTML format

HTML is the primary output format. Material for MkDocs is used to generate static HTML files and Mike to publish version specific variants. The following sites are available:

PDF format

PDF is the secondary output format. wkhtmltopdf is used to produce it.

Starting with version 3.5 you may access the PDF document from the appendix in the HTML site.

The PDF version is also accessible per version from Releases.

Releases

You find all releases and release information here.

SonarCloud

The SQL code blocks in the Markdown files of this repository are automatically checked with db* CODECOP. The result is stored in SonarCloud. The idea is to follow our own guidelines, at least in the good examples.

How to Build the HTML Site

  1. Install Docker in your environment
  2. Fork this respository
  3. For Windows users only
    • Install Git for Windows, it provides Git command line tools, a GUI and a Bash emulator
  4. Check/change the version in mkdocs.yml
  5. Open a terminal window in the tools folder
    • Build/update the table in appendix B run ./genappendix.sh.
    • Build/update the PDF file run ./genpdf.sh.
    • Test the HTML site locally run ./serve.sh and open http://localhost:8000
    • Deploy HTML site run ./mike.sh deploy main.
    • Set default version (HTML redirect) run ./mike.sh set-default main.
  6. commit changes and push all branches.

Related Resources

License

The Trivadis PL/SQL & SQL Coding Guidelines are licensed under the Apache License, Version 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

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.