I have a varchar(40) column that saves an hexadecimal ID, I need that ID in upper case, like id_xxxx; where xxxx is an hexadecimal number 0-9 A-F The first 3 letters must be in lower case.
1) There's a way to get a list of the IDs where the hexadecimal number are not in upper case?
2) There's a way to make the database engine turn a wrong ID like ID_abc1 into id_ABC1?