Hi,
The thing is that I'm currently programming this sales-system.
The system has like x amounts of tables, I've mostly added to the product-tables, changed queries, views and stored procedures.
Ofcourse, I've also edited asp.net code, etc. Made html input, and so on.
However, one part of the input form, is with checkbox.
Would you move this to another table, or would you add the fields to the same table?
It will be approx 15 checkboxes..
Maybe I should make some dynamic system,where one table:
tbl_options
option_id
option_name
option_value
option_group_id_id_group
and one table:
tbl_option_group
ogroup_id
ogroup_name
Does anyone have any inputs?
My system will have different options, based on one field in the product table (which kind of product it is).
eg. product type a might have option a,b,c
product type b might have option a, c, d
etc.
Would you go for the relational model, or would you add all the fields and rather make it more static in asp.net?
Olav Alexander Mjelde
Admin & Webmaster
The thing is that I'm currently programming this sales-system.
The system has like x amounts of tables, I've mostly added to the product-tables, changed queries, views and stored procedures.
Ofcourse, I've also edited asp.net code, etc. Made html input, and so on.
However, one part of the input form, is with checkbox.
Would you move this to another table, or would you add the fields to the same table?
It will be approx 15 checkboxes..
Maybe I should make some dynamic system,where one table:
tbl_options
option_id
option_name
option_value
option_group_id_id_group
and one table:
tbl_option_group
ogroup_id
ogroup_name
Does anyone have any inputs?
My system will have different options, based on one field in the product table (which kind of product it is).
eg. product type a might have option a,b,c
product type b might have option a, c, d
etc.
Would you go for the relational model, or would you add all the fields and rather make it more static in asp.net?
Olav Alexander Mjelde
Admin & Webmaster