Link to home
Start Free TrialLog in
Avatar of walkerdba
walkerdba

asked on

cannot drop

SQL> alter database begin backup;

Database altered.

SQL> drop tablespace app including contents and datafiles;
drop tablespace app including contents and datafiles
*
ERROR at line 1:
ORA-01150: cannot prevent writes - file 6 has online backup set
ORA-01110: data file 6: '/u01/app/oracle/oradata/orcl/app.dbf'


SQL>

Why I cannot drop the app tablespace?
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

you can't drop it while the backup is set

alter tablespace app end backup;

try to drop again
ASKER CERTIFIED SOLUTION
Avatar of Praveen Kumar Chandrashekatr
Praveen Kumar Chandrashekatr
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You cannot start DB backup and then drop tablespace.
Avatar of walkerdba
walkerdba

ASKER

ok