I have a table that contains a field called transaction_amt. It is defined as a varchar(13). The data in this field is right justified and numeric with an implied decimal place of 2.
Example:
transaction_amt
12345
234567
These entries should be 123.45 and 2345.67. I'm taking these values and inserting them into a field in another table that is defined as money. Is there a function that can be used to convert these over to the correct decimal places? Or should I just use the substring function and slam a . in there?
mwa
<><
Example:
transaction_amt
12345
234567
These entries should be 123.45 and 2345.67. I'm taking these values and inserting them into a field in another table that is defined as money. Is there a function that can be used to convert these over to the correct decimal places? Or should I just use the substring function and slam a . in there?
mwa
<><