- Posts: 103
- Thank you received: 2
Ask the community, share ideas, and connect with other LimeSurvey users!
This is really not a problem. Add a few lines to the syntax file of SPSS to recode or a small EXCEL macro.that would have to be edited later.
Mmm, yes, I understand that longer answer codes will reduce the column limit. I am a bit confused about the actual numbers you are citing, though. MySQL row size limit is 65,525 characters. Even if all the columns were 30 characters wide, we'd still be able to have over 2,000 of them. So, where does the 230-column limit come from? Now, if 30 characters might indeed be excessive, how about bumping the answer code length by just a little -- say, to VARCHAR(Joffm wrote: The answer codes are stored in the answer table. And the field type in the dataset is "VARCHAR(5)".
Because of the limitation of MySQL you would only be able to create about 230 columns if you change it to "VARCHAR(30)".
Yep, that's exactly how I am doing it now...Joffm wrote: In your case: a four digit year is really not necessary; so you could use "YMMDD" which covers a ten years range.
Joffm wrote: ...unfortunately this limit is reached very quickly (arrays, multipunch questions, and as top of all, array(number))
Joffm
DenisChenu wrote: Maybe most easy is to create a fork of limesurvey with only this update.
Since you have only this update : it's easy to merge to master when needed.
Correct. The amount of questions is often more than it looks. There is a reason why LimeSurvey has questiontypes with answers and sub-questions. Subquestions demand more space. A single answer question has answers. A multiple choice question has subquestions.holch wrote: How will you notice that you run into this limit? I think you will only really know once you activate the survey and then get an error message.
So, what would be the "right" design? Basically, I can only see two viable options here:jelo wrote: As long as LimeSurvey carries on with the "wrong" database concept...