2016-09-07 58 views

回答

0

試試這個,

with tbl as 
(select 'D:\program files \Jen\bin\tin\Sys.ex' hello 
    from dual) 
select 
regexp_substr(hello, '[^\]+', 1, regexp_count(hello, '[^\]+', 1)-1) folder from tbl 

上面的查詢將返回該文件所在的文件夾。

相關問題