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

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

RE: Antw: SQL question : How to retrieve the File_name without

From: Igor Neyman <ineyman_at_perceptron.com>
Date: Wed, 23 Jul 2003 08:58:37 -0400
Message-Id: <25998.339106@fatcity.com>


> eat this:

Is it chewable? -:)

Igor Neyman, OCP DBA
ineyman_at_perceptron.com

-----Original Message-----
From: ml-errors_at_fatcity.com [mailto:ml-errors_at_fatcity.com] On Behalf Of Guido Konsolke
Sent: Wednesday, July 23, 2003 3:14 AM
To: Multiple recipients of list ORACLE-L Subject: Antw: SQL question : How to retrieve the File_name without

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 !
Philippe

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Guido Konsolke
  INET: Guido.Konsolke_at_tkserv-triaton.thyssenkrupp.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jul 23 2003 - 07:58:37 CDT

Original text of this message

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