Re: Database Design - Saving the order of something.
Posted by: Rakesh Bairagi
Date: April 25, 2012 09:01AM

You can remove Order column from User table and have another table joining User and Entries table.

TABLE UserEntries
(
UserID,
SeqNumber
EntryID
)

For User: ID = 1, UserName = Hans, Entries = 1,5,3,2

you can have following record in UserEntries table

UserID SeqNumber EntryID
1 1 1
1 2 5
1 3 3
1 4 2

Options: ReplyQuote


Subject
Written By
Posted
Re: Database Design - Saving the order of something.
April 25, 2012 09:01AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.