If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Need help with database structure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-10, 18:46
peter_griffin peter_griffin is offline
Registered User
 
Join Date: Jan 2010
Posts: 1
Need help with database structure

Hi Gurus,

Here is the structure of the problem I am trying to solve. I want to give *each* user the ability to create a table of their own, which again, can be used by all the users in my system. The catch is that, a table can be of a type T belonging to a finite, pre-defined set S. Each table type has a complete set of legal columns that the user can choose to include in his/her table. In all cases, the user's table will be a subset of the columns associated with the type.

So: my option is to create each of the table in the complete table type set with max columns for each user, but that's a terrible amount of redundancy. Any better way to handle this?

Thanks for everyone's time
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On