GithubHelp home page GithubHelp logo

pankajminda / generic-sql-audit-trail Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doxakis/generic-sql-audit-trail

0.0 1.0 0.0 10 KB

A generic audit trail based on triggers and dynamic SQL.

License: MIT License

SQLPL 100.00%

generic-sql-audit-trail's Introduction

Generic SQL Audit Trail

A generic audit trail based on triggers and dynamic SQL.

The SQL trigger has been designed to analyze your table. So, the database schema can change over time and it still works fine.

Whenever you add new table(s), you don't have to run again the SQL script. The database trigger tr_database_audit listens for new table(s) and add the audit trigger to new table(s).

For more detail, please read this post: https://doxakis.com/2015/12/17/SQL-Script-Audit/

Setup

  • Execute the script: Install audit trail script for SQL Server Database.sql on the selected database in Microsoft SQL Server Management Studio.
  • Check the printed messages and make sure the query has been executed successfully.

Uninstall

  • Execute the script: Uninstall script for SQL Server Database.sql
  • Remove manually the Audit table.

Limitations:

Copyright and license

Code released under the MIT license.

generic-sql-audit-trail's People

Contributors

doxakis avatar

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.