Quote:
Originally Posted by skimbels
I only want one record representing this relationship however
|
the drawback to this is that any query looking for friends will require a UNION
if you were to add both rows -- person1,person2 and person2,person1 -- then your query would be a lot simpler and more efficient
it's a tradeoff, which i know i woulda solved one way back in the day when disk space was expensive (hunnerts of bucks per kilobyte), and which i would solve the other way in this day when a terabyte of space is only a couple bucks
