We once had a db table that had thousands of records and it was already in prod when we realised, after testing, that some of the entries were strange upper/lowercase combos, e.g. sTranGe... So we implemented a JS 'toupper' method for that field on the form instead of making changes to the db.