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
Post a Comment