I want to convert a decimal field from Length,Precision 8,4 to 11,9.
DecimalToDecimal function converts the source field to target with all zeroes.
Please advise.
Converting decimals
Moderators: chulett, rschirm, roy
Re: Converting decimals
How about just a change in the scale and precision ... since it is a change from smaller scale and precision to bigger the default conversion should be just fine. Have you tried that?
It took me fifteen years to discover I had no talent for ETL, but I couldn't give it up because by that time I was too famous.
If the data is finally landing into the database, just leave the datatype as the original one. Another approach could be, change the precision and scale in the source itself.
It took me fifteen years to discover I had no talent for ETL, but I couldn't give it up because by that time I was too famous.