How to trim after decimal(.) from varchar2 in oracle?
Example 1: '2999.89' should be return '2999'
Example 1: 'V59.00' should be return 'V59'
How to trim/substr from varchar when decimal place found in oracle?
4.7k views Asked by sk1007 At
3
You can use
instr
to find the index of.
and thensubstr
to return the string up to that position: