oracle - How to remove unique characters from a string in SQL -


what function can use rid of characters within string? know can use replace() function there around 30 variables need doing hoping more efficient route.

example:

what shows:

basicpay_5000 carallowance_6000 bonus_7000 

what need show:

5000 6000 7000 

is there function removes characters pre-defined character? e.g. writing statement removes characters _ (underscore).

this should help

select substr('basicpay_5000', instr('basicpay_5000','_') + 1) dual 

basicpay_5000 can replaced data have, if in said format


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -