MySQL Forums
Forum List  »  Performance

Use several boolean fields or one string
Posted by: Nenad Milenkovic
Date: February 10, 2005 10:17AM

I need about 10-20 flags for each field in my databae. I wonder if it would be more efficient to use 10-20 boolean datatypes (all indexed) or one char(20) with 0's and 1's which would I interpret in my code?

Thank you in advance for an adivice!

Options: ReplyQuote


Subject
Views
Written By
Posted
Use several boolean fields or one string
2584
February 10, 2005 10:17AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.