Quote:
Originally Posted by pinkfloyd43
....Original thought of having ColumnName and ColumnNameUnitOfMeasurement just seems to be wrong but may end up doing it that way.
|
what other way is there of modelling that requirement, unless you take the decision to convert the values before insertion into the db. If your assignment allows for such sophistry then do it. however my experience has usually been that people want the option to convert to the units of measure they are familiar with. they want to see data as they input it, they want to see other data in "their" format, even if it wasn't recorded in that format
so to me that means you need the value and a unit of measurement. arguably you could store the value as your internal base unit and change the display (if or as required), however you have a potential problem if someone decides to tinker with the base unit