MySQL select instr -




i have column path & name & extension of file. select name & extension.

example :

/xmlweb/processdescriptor/descriptor/local/currencies/tl_rn_tth.xml

how select "tl_rn_tth.xml" ?

use substring_index negative parameter:

select substring_index(path_column, '/', -1) your_table 




wiki

Comments

Popular posts from this blog

Jenkins: find build number for git commit -

firebase - How to wait value in Ionic 2 -

typescript - Typings for sub-folders inside a root index.d.ts -