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: Rename a datafile

Re: Rename a datafile

From: Joan Hsieh <joan.hsieh_at_tufts.edu>
Date: Thu, 31 Jan 2002 06:37:52 -0800
Message-ID: <F001.00401F0E.20020131055030@fatcity.com>

hmmm. I renamed a file yesterday with open database. I didn't check the manual just did it on the fly. No complains. I have to check the book again.

Joan

Rachel Carmichael wrote:
>
> startup mount
> alter database rename file not alter tablespace rename datafile
>
> --- Joe LaCascio <jlacasci_at_wheatonma.edu> wrote:
> >
> > Okay, I don't have the manuals with me and can't for the life of me
> > remember the correct syntax to do this...
> >
> > Is it:
> >
> > shutdown database
> > startup no noumt (or startup mount)
> > alter tablesapce evisions
> > rename datafile '/full_path/file_name' to '/full_path/new_name';
> >
> > I'm on 8.1.6 and this complains saying the database isn't open.
> >
> > It can't be open to rename a datafile...
> >
> > Thanks,
> > Joe
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Joe LaCascio
> > INET: jlacasci_at_wheatonma.edu
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing
> > Lists
> > --------------------------------------------------------------------
> > 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).
>
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rachel Carmichael
> INET: wisernet100_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Joan Hsieh
  INET: joan.hsieh_at_tufts.edu

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Thu Jan 31 2002 - 08:37:52 CST

Original text of this message

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