What will be the end result of this set of RMAN commands?
shutdown abort
startup mount
restore datafile 4 until time ,,09/30/2008:15:00:00;
recover datafile 4 until time ,,09/29/2008:15:00:00;
alter database open resetlogs;
A. Datafile 4 will be recovered until 9/30/2008 at 15:00 and the database will open.
B. The restore command will fail.
C. The recover command will fail.
D. The alter database open resetlogs command will fail.
E. All these commands will fail because they must be in the confines of a run block.
The commands will run without error until you attempt to open the database.At that time,the alter database open restlogs command will fail.This will be beacuse datafile 4 and the rest of the database will be inconsistent with each other and Oracle does not allow this.If you are going to restore and recover an Oracle database using point-in-time recovery,you must do so with the entire database.
注:restore的时间和recover的时间不同