How can I add zeros to SQL column to match 9 digits? We have an column name SystemID which contains products IDs. Our CRM system removes zeros automatically but sometimes we need to take out those numbers and paste to Excel and it needs to includes all numbers. It's something like this:
ID1111111
ID111111
ID11111
How can I add zeros after 6 digits?
If ID111111 then ID1111011
If ID22222 then ID2222002
If ID3333 then ID3333000