Menu

#11 Logbook No. & Sequence No. Combination Must be Unique Index

open
None
5
2005-11-28
2005-11-07
No

The logbook number and sequence numbers must be
integers and their combination must also be a unique
index. This is a MUST.

Discussion

  • Maher Abdel Karim

    Logged In: YES
    user_id=695149

    The Logbook number & sequence are not unique always their is
    duplication.
    This duplication is solved by something they are using in
    the billing system called subsequence.
    Baha can explain this to you.

     
  • Steffen Macke

    Steffen Macke - 2005-11-07

    Logged In: YES
    user_id=30248

    This should be implemented as constraints on the database level.

     
  • Maher Abdel Karim

    Logged In: YES
    user_id=695149

    No comments on this issue. shall we keep it open. or shall
    we close it.

     
  • Nobody/Anonymous

    Logged In: NO

    Mohammad?
    Reading through the comments it looks like it's possible to
    have a unique constraint over logbook number, sequence number
    and subsequence number. Why is this not applied?

     
  • Steffen Macke

    Steffen Macke - 2005-11-28

    Logged In: YES
    user_id=30248

    Baha: I think you did an analysis
    that the combination of logbook numbers and sequence numbers
    is NOT unique. Why don't you share this result with us here
    so that it's properly documented?

     
  • Steffen Macke

    Steffen Macke - 2005-11-28
    • assigned_to: maher_karim --> baha_faqih
     
  • Nobody/Anonymous

    Logged In: NO

    there is a lot of duplication in this two fields
    the logbook,sequence and subsequence must be unique

     
  • Steffen Macke

    Steffen Macke - 2006-07-03

    Logged In: YES
    user_id=30248

    Baha, please add a contstraint to create_dccss_ddl.sql.

     
MongoDB Logo MongoDB