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

Asterisk AGI Python Script to Dialplan does not work -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -

python - Read npy file directly from S3 StreamingBody -