string function help
where tablespace_name like 'ANYNAME';
FILE_NAME
--------------------------------------------------------------------
/ora01/oradata/dbname/mydata_dat/file_name_01.dbf
What string function could I use in the query above to return the full directory path minus the actual file name (everything before the last slash)? Not using anything assuming fixed positions/length of course.
/ora01/oradata/dbname/mydata_dat
Thank you