How to create a TransactionLog table?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AccessBeetle
    New Member
    • Jul 2009
    • 111

    How to create a TransactionLog table?

    I am building a database which is in MS SQL 2005. It has a front end in Access 2003. The tables are linked via DSN.
    There can be several users at a time hitting an application. I would like to catch each and every activity that has been perfomed on each and every table of the database, something like a transaction log. Please, let me know how should I approach?
    Thanks
  • missinglinq
    Recognized Expert Specialist
    • Nov 2006
    • 3533

    #2
    This is not for the faint-hearted, but Allen Browne has a tutorial on Audit Logs, which is the usual term for this sort of thing:

    How to create an audit log to record the history of changes to records in a Microsoft Access database - edits, inserts, and deletions.


    Linq ;0)>

    Comment

    • orangeCat
      New Member
      • Dec 2007
      • 83

      #3
      Doesn't MS SQL 2005 include transaction logging? Wouldn't you use that instead of building something yourself?

      Comment

      • AccessBeetle
        New Member
        • Jul 2009
        • 111

        #4
        Orangecat,
        Where to look for it in MS SQL 2005? Sorry, this is kind of a dumb question but I am new to it.

        Comment

        • AccessBeetle
          New Member
          • Jul 2009
          • 111

          #5
          Thanks Missinglinq, taking a look at it. but as Orangecat have said, if MS SQL 2005 builds the TransactionLog on it own than I would prefer that instead of implementing it in Access. Let me know how we can see it in MS SQL 2005.
          Thanks

          Comment

          • orangeCat
            New Member
            • Dec 2007
            • 83

            #6
            AccessBeetle,
            I am not a SQL Server user, however, I have worked a lot with Oracle.
            I did some searching and found this link to M$soft re MS SQL Transaction logging.

            Learn about the transaction log. Every SQL Server database records all transactions and database modifications that you need if there's a system failure.

            Comment

            • AccessBeetle
              New Member
              • Jul 2009
              • 111

              #7
              Thanks.That helps. Althought will have to do yet more research on that topic.

              Comment

              • orangeCat
                New Member
                • Dec 2007
                • 83

                #8
                Originally posted by AccessBeetle
                Thanks.That helps. Althought will have to do yet more research on that topic.
                AccessBeetle,

                I did a little more searching and have found a couple of articles that may be helpful to you. Since I don't know your DBMS expertise, nor potential applications, I am providing these links to help put transaction logging into context.
                Good luck.

                General transaction log concept: http://en.wikipedia.org/wiki/Transaction_log
                Importance of the Log: http://www.craigsmullins.com/dbta_049.htm
                This is specific to SQL Server:

                Comment

                • AccessBeetle
                  New Member
                  • Jul 2009
                  • 111

                  #9
                  Thank you. I appreciate your help !!

                  Comment

                  Working...