I have a SQL Server 2008 table and a specific column Title which contains a mixture of strings that all start with 'WM' and end in a store number, for example WM24 or WM1234.
What I'd like to do is normalize all the rows to a standard format of WMXXXX' (where XXXX is a 4-digit store number). So WM26 would become WM0026 and WM123 would become WM0123, but WM1234 is unaffected.
Is this doable?