I have a set of data that looks like this;
DOCUMENT_ID
===
019239.03491
019239.03497
019239.03498
019239.03500
019239.03501
019239.03503
019239.03514
019239.03521
019168.00845
019168.00846
019168.00847
019168.00848
019168.00850
019168.00860
019168.00861
019168.00866
019168.00867
019168.00868
019168.00869
019168.00870
I need to remove leading zeros from the left most part of the field and also the leading zeros after the decimal point. Please note that there could be more than one leading zero.I other words I need the data above to look like the data below;
Doc_Number
17516.1178
17517.2083
17517.2630
17517.2972
17517.3365
17519.4004
17520.3395
17520.3461
17520.3695
17520.3918
17520.4378
17520.582
Any information or assistance would help. I am using MS SQL SERVER 2012.