Compare 50 rows in database with 50 rows to enter and alert changes

Posted on 2014-07-11
Last Modified: 2014-07-23

Say i have 50 rows of data in a database and created a hash of this data.

Now i would like to  enter 50 comparable rows again if the hash of this data has changed compared to the existing hash.

If the hash has changed, what would be the best method to check which data has changed exactly?

Question by:peps03
    LVL 107

    Accepted Solution

    If the hash has changed, you will need to compare all 50 rows of data.  There's no shortcut.  And with only 50 rows of data in play, there is no need for a shortcut.

    Author Closing Comment

    Thanks Ray, that was exactly what i needed to know.
    LVL 107

    Expert Comment

    by:Ray Paseur
    Thanks for the points and thanks for using E-E, ~Ray

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    The viewer will learn how to dynamically set the form action using jQuery.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now