Source file has varchar2(20) but target table has Decimal(20,6).How to convert varchar2 to decimal.i tried using StringToDecimal() function.But output coming as all ZERO's.Target values as 00000000000000.000000
Please suggest your thoughts on this ....
String to Decimal conversion
Moderators: chulett, rschirm, roy
Why do you include ",6" in your StringToDecimal() function call? This optional second parameter of the function is a string which indicates the type of rounding to be performed during the conversion, as documented here. This may likely be the cause of your problem.StringToDecimal(lkGeidAdded.OVERRIDE_BALANCE_UNITS,6)
Regards,
- james wiles
All generalizations are false, including this one - Mark Twain.
All generalizations are false, including this one - Mark Twain.