Should we put units of measurements in attribute names? [closed]

If you have a consistent UOM for things, then your DBA’s policy is OK.

For example, if timespans are ALWAYS in minutes, etc.

If the UOM could change, then you should store it in another column, alongside the qty.

That said, I tend to side with you on this. Clarity trumps most things, including this. I’d rather see DurationMinutes than Duration and have to guess what the UOM is.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)