SHORT VERSION: What is the best way of casting "5-" as a number for storing into a table as a number?
LONG VERSION: Here is the issue, I have a table I am reading from primary made up of VARCHAR2s. I am grabbing the data from some fields and storing them in another table without modification. In one field I am getting "5-" and trying to store it in a NUMBER field which is throwing an error because it can't cast it as a number.
Can anyone tell me if there is a best practice for dealing data such as this? This seems like it would be a common financial problem. I am sure I could remove '-'s and then if found affix it to the front but I would like input on the best way of dealing with this.