QUESTION POSED ON: 14 November 2002
How can I update a field that looks like this:
000000002337
000000002345
000000002352
200129
2337
2345
2352
2360
2378
6000000676
676
68
692
90000068
to be padded on the left with zeros, for a total of 12 characters. Like this:
000000002337
000000002345
000000002352
000000200129
000000002337
000000002345
000000002352
000000002360
000000002378
006000000676
000000000676
000000000068
000000000692
000090000068
This is SQL Server.
|