I have a column named CardNumber in a table named Cards (fromatted as varchar) with numbers ranging from 1 to 65534. I am trying to change all the card numbers to start with 84 and fill with 0's until the card number and finish with 9 characters. So it would look like this.
Old column Updated column
6 840000006
19 840000019
234 840000234
8521 840008521
45956 840045956
I was hoping to do this with a SQL statement. Hopefully I have provided enough information. Thanks for any help in advance.
Ted Bradley
Old column Updated column
6 840000006
19 840000019
234 840000234
8521 840008521
45956 840045956
I was hoping to do this with a SQL statement. Hopefully I have provided enough information. Thanks for any help in advance.
Ted Bradley