February 10th, 2012, 09:45 PM
Compare between rows in a database
I am trying to implement program that enable me to compare between rows in a database. The most major step is how to conduct the comparison between rows.
The normal solution is based on pairwise comparison where you need to compare records against each other. This solution is not the one i look forward as it has very time complexity. Therefore, I am wondering if there is any other algorithm that you suggest to solving this problem in very fast and efficient way.
Thank you very much in advance and I look forward to hearing from you.
February 11th, 2012, 12:33 AM
Re: Compare between rows in a database
You didn't really give enough information to get a reasonable answer. What are you trying to accomplish? Are you trying to find, for example, some certain row with a maximum (or minimum) value in some field? What type of information are you attempting to extract?
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!