I want to format results in my query.
I want the length to be 6.
If its 5 in length I want to add a zero at the end
If the value is 4 in length I want to add a leading zero and a zero at the end.
Does some have an example of this.
Thanks
Select number from table
results "number":
2534
2521
15556
25111
I want the result to be:
025340
025210
155560
251110
I want the length to be 6.
If its 5 in length I want to add a zero at the end
If the value is 4 in length I want to add a leading zero and a zero at the end.
Does some have an example of this.
Thanks
Select number from table
results "number":
2534
2521
15556
25111
I want the result to be:
025340
025210
155560
251110