(3)当前日志归档 SQL> alter system archive log current;
(4)现在破坏 users 表空间,使其离线,然后移除 users01.dbf 到一 个指定文件夹(备份) SQL> alter tablespace users offline; SQL> alter tablespace users online; //表空间已更改。
(5)完成介质恢复。 SQL> alter tablespace users online; SQL> select * from scott.test1; //表空间已更改。
(1)创建表空间 testspace 在 SQL Plus 中依次执行以下语句,给出最后的执行结果:
SQL>
create
tablespace
testspace
datafile
'C:\oracle\product\10.1.0\db_1\TestDB\testspace.dbf' size 10m; SQL> create table scott.test3(id int) tablespace testspace; SQL> commit;