choice of field types and performance

2002-07-09 Thread Marko Djukic
what is generally better to use: - one field of type 'set' (eg.: 'apples','cherries','pears','bananas') - or multiple fields of type true/false for each value above? just to make sure, mysql doesn't store each value selected in the set in each record? or does it? thanks, marko

Re: choice of field types and performance

2002-07-09 Thread Roger Baklund
* Marko Djukic what is generally better to use: - one field of type 'set' (eg.: 'apples','cherries','pears','bananas') - or multiple fields of type true/false for each value above? Field type SET, because the field types BIT and BOOL are 'fake' (synonyms for TINYINT), occupying a full byte