Dropping a Datafile and Deleting its References
568775May 29 2007 — edited May 30 2007Using 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