ocp-212

来源:互联网 发布:编程入门什么语言好学, 编辑:程序博客网 时间:2024/04/29 08:34

QUESTION NO: 212
Given the script
create script db_backup_datafile_script
{backup datafile &1, &2 plus archivelog delete input;}
what is the result of running this command?
Run {execute script db_backup_datafile_script using 2;}
A. The script will fail since you instructed RMAN to back up only one datafile rather than two.
B. The script will successfully back up datafile 3 without error.
C. The script will fail since it uses a substitution variable which is not supported.
D. The execute script command will prompt for the value of &2 since it‘s not included in the command.
E. The script will fail because you cannot use the plus archivelog command when backing up database
datafiles.
The script will prompt for the missing substitution variable. The script will return an error if you do not put
in a value for the second substitution variable.
Answer: D


运行此命令的结果是什么

D执行脚本命令会提示&2的值,因为它不包括在命令中。

脚本会提示缺少的替代变量。该脚本将返回一个错误,如果
你不把在第二替代变量的值。


0 0
原创粉丝点击