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 > General > Database Concepts & Design > Schema for questionaires/surveys

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-28-09, 11:10
caiush caiush is offline
Registered User
 
Join Date: Oct 2009
Posts: 1
Schema for questionaires/surveys

Hi

I'm designing a database app to store questionnaires/surveys/perfomance evaluations kind of things. I've been thinking about a design that would allow users to create new surveys and store the answers from other users.

I wanted a design that allows multiple types of questions (e.g. multi choice, text answer, boolean, mulitpart answers etc..) . I suppose I could use an "Answers table" with a few text fields and use single table inheritance to interpret the fields.

However, questionnaires etc must be a fairly common design pattern and there is probably a better way to do it, I wondered if someone could point me to some examples. Or at least give me a few names of patterns to go hunting for.


Regards

Caius
Reply With Quote
  #2 (permalink)  
Old 10-28-09, 11:37
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
Quote:
Originally Posted by caiush
questionnaires etc must be a fairly common design pattern and there is probably a better way to do it, I wondered if someone could point me to some examples.
I don't suppose you tried searching the forum for the word "questionnaire"?
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