I've been working on a backend for the company I work for where by I have all the clients, along with client numbers.
Project numbers are generated by client number+single year number (4)+job number.
So anyway, while entering the data into the database I made a mistake, a direct result of this is that all the client numbers are WRONG!
this causes all project numbers to be wrong also!
so I need a line of sql where I can change for example the client number "01401" to "00401" (shift the first two digits down one number.
How the hell can I do this? Help!