Is there a particular way to identify whether two result sets are equal?
problem is that I can’t access two result set at the same time. So it’s better for me to create a hashvalue for resultset1 and store it and get the later resultset2 and create hashvalue2 and check whther they are equal.
I tried to serialize the resultset objects and get a hashvalue of that object. But that didn’t work since ResultSet objects can’t be serialized. (I tried using java)
You’ll need to store one or both of the hash values in a variable or table: for example, you could find the first value and store it in a global variable, then pull that value into the end of the code to find the 2nd value and then compare the two. If you store them in a table with a datetime stamp, you can track when changes are made over time.