fill in required fields?

0

I have to evaluate some exams using 2 techniques but not in a parallel way, with that I mean that each technique has its own parameters then it should exist sometimes the parameters 1 ... 5 or parameters 6 ... 8 but it is advisable to store only the paratros that will exist and leave the other fields blank?

+ --------- parameters ------ +

parametro 1
parametro 2
parametro 3
parametro 4
parametro 5


parametro 6
parametro 7
parametro 8

+ ------------------------------ +

    
asked by hubman 03.09.2018 в 09:37
source

1 answer

1

If you mean to save them the truth is that in the long run not because although they are null they need some space, I would do it in separate tables or with a field of type in the same table

Axis fields

id, name, parameter, qualification

"parameter" would be the value you would use to validate the view

Look that snooping I stumbled upon this post of how much a null field weighs How much space a null occupies in the database

Greetings:)

    
answered by 03.09.2018 / 09:46
source