CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Posts
    3

    Compare between rows in a database

    Hi All

    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.

  2. #2
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    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?
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured