[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: DB is not enforcing index uniqueness

  • Thread starter Thread starter Thomas Mercer-Hursh
  • Start date Start date
Status
Not open for further replies.
T

Thomas Mercer-Hursh

Guest
Marian, while I tend to agree that the best possible design probably doesn't use this feature, I have seen lots of schemas that do. A classic is something like the invoice number corresponding to a order. Yes, better to use a join table and allow for many to many matches, but a lot of older schemas will put things like that right in the order. The invoice number is unknown when the order is created, but it is still a valid order. That index is also not used at that stage. And, the order number is used to locate the record. No one said we had to be talking about a primary index. Note that in many use cases it is also benign.

Continue reading...
 
Status
Not open for further replies.
Back
Top