Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Antw: SQL question : How to retrieve the File_name without

Antw: SQL question : How to retrieve the File_name without

From: Guido Konsolke <Guido.Konsolke_at_tkserv-triaton.thyssenkrupp.com>
Date: Wed, 23 Jul 2003 09:15:01 +0200
Message-Id: <25988.339007@fatcity.com>


Hi Philippe,

eat this:

select substr('/oracle/d0/data/user.dbf',instr('/oracle/d0/data/user.dbf','/',-1)+1) from dual;

hth,
Guido

>>> philippe.nguyen_at_cetelem.fr 23.07.2003 09.59 Uhr >>>
Hi Gurus!
a very simple problem for You :I just want to retrieve the .dbf name from file_name column in dba_data_files.
eg :'/oracle/d0/data/user.dbf' --> user.dbf Maybe using translate function ?
Thank in advance ! Received on Wed Jul 23 2003 - 02:15:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US