I have a column in database which have following value drop#drop#drop#drop#drop#drop#drop#drop
and I want to get 7th number drop from this value.
I not want to split the string.
I have a column in database which have following value drop#drop#drop#drop#drop#drop#drop#drop
and I want to get 7th number drop from this value.
I not want to split the string.
select substr('drop#drop#drop#drop#drop#drop#drop#drop',instr('drop#drop#drop#drop#drop#drop#drop#drop','drop',1,7),4) as "Drop7th" from dual;