I work with design one day to day, and I'll tell you why it's not ideal. If it lacks a single column primary key, some databases, like oracle, make it harder to do an outter join. The way to get around the oracle error is..

select * from ( select a.pk1 from table a,b where a.pk1 = b.pk1 (+) ) a_outter_joined,b a_outter_joined.pk2 = b.pk2 (+) and (a_outter_joined.pk1 = b.pk1 or a_outter_joined.pk1 = null )
You think you'd be able to do..
select * from a,b where a.pk1 = b.pk1 (+) and a.pk2 = b.pk2 (+)
Maybe I've assumed that there's a missing single key column that was just left out to make an illustration, but I rather not assume... Oracle 8 generates this error for the above query.

Update: Updated which version of oracle gens the error and which query does what.

----
Then B.I. said, "Hov' remind yourself nobody built like you, you designed yourself"


In reply to Re: OT: benefits of database normalization by exussum0
in thread OT: benefits of database normalization by revdiablo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.