dbTalk Databases Forums  

DB Design problem!!

comp.databases.theory comp.databases.theory


Discuss DB Design problem!! in the comp.databases.theory forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
alex
 
Posts: n/a

Default DB Design problem!! - 08-21-2003 , 09:29 AM






Hallo
i have a design problem

I must to create a db structure that manage questionaries.

Every questionary have a variable number of attributes. Every
attributes may be boolean or string or integer.

I need to maintain a questionary list and a attributes list to know
what i have in the db.

The questionaries are linked whit an ID to a person.In the db there is
a lot of table like a datawarehouse and
the questionaries are only a part of the whole

After i must develop an app that manage the lifecycle of the
questionaries.

SO the db id dynamic and i don't know how to represent the
questionaries.

If i create a table for every questionary i don'thave a RI between the
questionary\attributes list and the relative phisical
object.

If i create db structure with a repository for the definition of the
questionaries and the attributes i have
a sinlge table (calles ATTRIBUTES_TABLE) like this:

IDQUESTIONARY
IDATTRIBUTE
VAL

but the meaning of VAL fields depend from the questionary and the
attribute.

It's a problem like the catalog table of the RDBMS. Noone solution is
really relational.

Have you any suggest?

thanks

Alex

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.