http://www.castleproject.org/activerecord/documentation/v1rc1/usersguide/pks.html#CompositePK
And I quote:
Quick Note: Composite keys are highly discouraged. Use only when you have no other
alternative.
I get the feeling they're discouraged from a SQL point of view, but it doesn't actually say why anywhere. Is there any good reason to avoid using composite keys on a table? Why waste the space of an extra key if you don't have to? Thanks!
Mike
I get the feeling they're discouraged from a SQL point of view, but it doesn't actually say why anywhere. Is there any good reason to avoid using composite keys on a table? Why waste the space of an extra key if you don't have to? Thanks!
Mike