I faced this error while I was trying to take a
datafile offline and my database was in mount state as well as in noarchivelog
mode, at that time. Opening database would return ORA-01157 for this datafile.
SQL>
alter database datafile 'd:\oracle\oradata\data01.dbf' offline;
alter
database datafile 'd:\oracle\oradata\data01.dbf' offline
*
ERROR
at line 1:
ORA-01145:
offline immediate disallowed unless media recovery enabled
|