in reply to OT: benefits of database normalization
You think you'd be able to do..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 )
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.select * from a,b where a.pk1 = b.pk1 (+) and a.pk2 = b.pk2 (+)
----
Then B.I. said, "Hov' remind yourself
nobody built like you, you designed yourself"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: OT: benefits of database normalization
by pg (Canon) on Oct 03, 2004 at 15:11 UTC | |
|
Re^2: OT: benefits of database normalization
by dragonchild (Archbishop) on Oct 03, 2004 at 14:54 UTC | |
by exussum0 (Vicar) on Oct 03, 2004 at 15:14 UTC | |
by pg (Canon) on Oct 03, 2004 at 15:24 UTC | |
by dragonchild (Archbishop) on Oct 04, 2004 at 00:45 UTC |