Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Need help renaming datafile with <cr> in name.
First of all, I apologize for my bad English.
kcary_at_my-dejanews.com escribió:
This is the right way if your instance is in archive log mode, but...
> SVRMGR> ALTER TABLESPACE "OEM_DATA" OFFLINE NORMAL;
> Statement processed.
//////////////////////////////
$ cp /emc1/oradata/axis/oem_data.dbf /emc1/oradata/axis/oem_data.dbf
///////////////////////////////
> SVRMGR> ALTER DATABASE RENAME FILE
> 2> '/emc1/oradata/axis/oem_data.dbf
> 3> ' TO '/emc1/oradata/axis/oem_data.dbf';
Hope this help.
-- =
Julio Negueruela
DBA Servicio Informático
Universidad de La Rioja - Spain Telf: 941-299179 Fax: 941- 299180