I\'m designing a multilingual e-commerce site. Products have different properties. Some properties are different for each language (like color), other properties are the same for all languages (like S
I have the following 2 mysql_queries: Query 1 (this query is repeated twice more for imgClass, and imgGender):
开发者_StackOverflow中文版Is it really that bad to use \"varchar\" as the primary key? (will be storing user documents, and yes it can exceed 2+ billion documents)It totally depends on the data. Ther
I need to ask a complicated scenario, so I\'ll try to explain by example. Consider the following model :
I have a questionnaire for users to be matched by similar interests: 40 categories, each with 3 to 10 subcategories. Each of the subcategories has a 0 - 5 value related to how interested they are in t
The reason I need a role-based system: Restrict access to pages. Restrict access to certain features on pages.
In a table with an id, several key values and several other \"data\" columns: T1 : id , k1 , k2 , k3 , data1, data2, ...
OK, I know the technical answer is NEVER. BUT, there are times when it seems to make things SO much easier with less code and seemingly few downsides, so please here me out.
This question already has answers here: Closed 11 years ago. 开发者_运维问答Possible Duplicate: How to Store Multiple Options selected by User in a Table
I have a group table - should option_id or extras_id should be in separate tables 开发者_C百科or all in one table? See below what I meant: