Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dropping a Datafile and Deleting its References

568775May 29 2007 — edited May 30 2007
Using sqlplus how do I delete datafiles and any references to them?

At the moment I start the database in mount mode and use:
ALTER DATABASE DATAFILE 'O:\BCS\test.ora' OFFLINE DROP;
Which drops the datafile, but when I try to open the database it fails because it is still referencing the datafile.

How do I delete this reference?

Any thoughts or suggestions are greatly appreciated.

Regards
Toby
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 27 2007
Added on May 29 2007
4 comments
623 views