开发者

Survey Data Model

开发者 https://www.devze.com 2022-12-10 16:59 出处:网络
I\'m developing a simple survey module for an ASP application I\'m working on and I\'d like to get some suggestions on the data model.

I'm developing a simple survey module for an ASP application I'm working on and I'd like to get some suggestions on the data model.

Questions can be one of three types - multiple choice, multiple answer; multiple choice, single answer, and free response.

I'm thinking of the following tables:

  1. Question - with a question type discriminator ifeld
  2. PossibleAnswers- with a questionID and answer 开发者_开发技巧text field
  3. SurveyQuestionResponse- with a questionID, a clientID, and answer text

Am I making this too simple?


Take a look at the
    Data Model library at databaseanswers.org
Models #76 thru #81 seem pertinent, if only for "inspiration".

A lot depends on the level of sophistication of the surveys you manage, as some surveys in particular dynamic ones (aimed at removing some of the bias) require additional fields for storing properties such as the probabilities with which a particular question (or reply) is used, the many forms of a question and associated probability, and also the recording of the questions and suggested replies that were effectively offered for a give surveyee.

The model the above link:

Survey Data Model

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号