sql - How to get data upto specific character in oracle -


this string

   1001|l0|current|ussd0786|03/06/2015|03339665535|||n|muhammad akbar|14301-9830008-9|city bowra garhi tehsil/district kohat|01/01/1980|pakistan|01/01/2020||abc@abc.com|muhammad zaman|nadra|1234567890123456789|03/06/2015|41901|529268700||| 

now want name of person muhammad akbar. using not giving me whole name

substr(request,53,instr(request, '|')-1) 

can please solve problem?

are sure start @ position 53?

in case can use one:

select replace(regexp_substr(request, '.+?\|', 53), '|') ... 

or more after 9th pipe '|'?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -