[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2014-07-11
3
Medium Priority
?
101 Views
Last Modified: 2014-07-23
Hi,

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?

Thanks!
0
Comment
Question by:peps03
  • 2
3 Comments
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 40190614
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.
0
 

Author Closing Comment

by:peps03
ID: 40214272
Thanks Ray, that was exactly what i needed to know.
0
 
LVL 111

Expert Comment

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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses how to implement server side field validation and display customized error messages to the client.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month20 days, 9 hours left to enroll

867 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