Dropping a datafile
572552Apr 20 2007 — edited Apr 20 2007Can we drop one datafile from a tablspace?
I have a tablespace TS1 which has 3 datafiles.i made one datafile offline and trying to drop that particular datafile....is it possible ?
SQL> alter database datafile 'E:\ORACLE\ORADATA\TESTDB\KISH1.DBF' DROP;
alter database datafile 'E:\ORACLE\ORADATA\TESTDB\KISH1.DBF' DROP
*
ERROR at line 1:
ORA-01916: keyword ONLINE, OFFLINE, RESIZE, AUTOEXTEND or END/DROP expected
the errror is we are not giving the right option but Oracle itself is suggesting a DROP option...CAN ANYONE HELPME OUT
THANKS