I have two datafiles inRBS TABLESPACE.The name of one datafile is rbs01.dbf & the other one is .ora.How to rename the .ora to rbs02.dbf.Oracle 8.1.6 running in N/T.I tried to rename it by alter database rename file.But it gives an error
ora-01511
ora-01121cannot rename databse files which are in use or recovery.
What is the way i can rename the .ora file(Such a nonsense name)
This should work, just try to make sure there is little to no activity.
alter tablespace rbs offline normal
host copy /path/rbs02.ora /path/rbs02.dbf
alter database rename file '/path/rbs02.ora' to '/path/rbs02.dbf'
alter tablespace rbs online
Thanks.But when I am trying to take it offline the file I ma getting an error ORA-1145 OFFLINE IMMEDIATE DISALLOWED UNLESS MEDIA RECOVERY ENABLED.oNCE AGAIN i AM USING ORACLE 8.1.6. IN N/T
Bookmarks