I need to convert this into this using PostgreSQL
dxItw9a4 --> DXiTW9A4
Is there any function or way that is already set?
You can use the following methods supported by PostreSQL:
UPPER(string_expression)
Example:
SELECT CONCAT ( UPPER (first_name), UPPER (last_name) ) as full_name FROM staff;
Reference: http://www.postgresqltutorial.com/postgresql-letter-case-functions/