« Design and Ambiguity | Main | I Have a Question »

July 31, 2006

Doing Things Wrongly

Our DBA had a problem. He was trying to figure out the best way to populate a bridge table with the full set of keys from two source tables. The answer was to do a simple Cartesian product. It hadn’t occurred to him. The problem was that he had it classified as the wrong way to do things. Not surprising, I guess … this site describing such joins points out that Cartesian joins are “usually done by mistake.”

Be sure not to exclude things from your arsenal of solutions by classifying them as “the wrong way to do things.” Sometimes the wrong thing is precisely what you need.

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/1015806/5561494

Listed below are links to weblogs that reference Doing Things Wrongly:

Comments

Post a comment

If you have a TypeKey or TypePad account, please Sign In