Our organization provides various services to our clients (for example, web hosting, technical support, user programming, etc.). Our site has a page listing all the available services and their corresponding prices. It was static data, but my boss wants them all pulled out of the database.
The list lists about 100 services. However, only two of them have a non-numerical value for the “price” (in particular, the lines “ISA” and “cost + 8%” - I really do not know what they should mean, so don’t need to ask me).
I would really like the price column to be varchar just because of these two lists. My current approach is to create a special field called "price_display", which is either empty or contains text to display instead of price. This solution is too much like a dirty hack (this would unnecessarily complicate requests), so is there a better solution?
Cybis source
share