多选题你丢失了所有联机控制文件。请为以下任务指定正确顺序:
(1)从备份还原控制文件,或运行CREATE CONTROLFILE。
(2)启动数据库恢复,然后指定关键字BACKUP CONTROLFILE。
(3)以MOUNT模式启动数据库。
(4)使用RESETLOGS打开数据库。
(5)关闭数据库。
多选题Given the proper imports, and given:
23. String s = "123 888888 x 345 -45";
24. Scanner sc = new Scanner(s);
25. while(sc.hasNext())
26. if(sc.hasNextShort())
27. System.out.print(sc.nextShort() + " ");
What is the result?
多选题以下哪个文件中存储了数据库创建时的时间戳? A.数据文件 B.控制文件 C.重做日志文件 D.参数文件
多选题运行以下RMAN命令:
RMAN>configure controlfile autobackup on;
RMAN会在哪些条件下备份控制文件和SPFILE?
多选题Given:
3. class Stereo {void makeNoise() {assert true; } }
4. public class BoomBox2 extends Stereo {
5. public static void main(String[] args) {
6. new BoomBox2() .go(args);
7. }
8. void go(String[] args) {
9. if(args.length > 0) makeNoise();
10. if(args[0] .equals("x")) System.out.print("x ");
11. if(args[0] == "x") System.out.println("x2 ");
12. } }
And (if the code compiles), the invocation:
java -ea Boombox2 x
What is the result?
多选题Given the proper import statement(s) and:
4. Console c = System. console();
5. char[] pw;
6. if(c == null) return;
7. pw = c.readPassword("%s", "pw: ");
8. System.out.println(c.readLine("%s", "input: "));
Which statements are true? (Choose all that apply.)
多选题Given:
3. import java.util.*;
4. public class VLA2 implements Comparator<VLA2> {
5. int dishSize;
6. public static void main(String[] args) {
7. VLA2[] va={new VLA2(40), new VLA2(200), new VLA2(60) };
8.
9. Arrays.sort(va, va[0]);
10. int index=Arrays.binarySearch(va, new VLA2(40), va[0]);
11. System.out.print(index +" ");
12. index=Arrays.binarySearch(va, new VLA2(80), va[0]);
13. System.out.print(index);
14. }
15. public int compare(VLA2 a, VLA2 b) {
16. return b.dishSize - a.dishSize;
17. }
18. VLA2(int d) {dishSize=d; }
19. }
What is the result?
多选题发出如下的ALTER TABLE语句: ALTER TABLE DOGS SET UNUSED COLUMN GENDER; 请问在以下有关DOGS表中的GENDER列的陈述中,哪3个是正确的? A.可以向GENDER列中插入值 B.GENDER列已经被永久地从表中删除掉了 C.随后,可以将GENDER列删除掉 D.如果使用SELECT语句查询DOGS表,并在查询列表(select list)中使用星号(*),GENDER列将不会显示 E.如果执行SQL*Plus DESCRTBE命令来查看DOGS表的结构,GENDER列将不会显示
多选题Given that Calendar.MONTH starts with January = = 0, and given:
3. import java.util.*;
4. public class Wise {
5. public static void main(String[] args) {
6. Calendar c = Calendar.getInstance();
7. c.set(1999,11,25);
8. c.roll(Calendar.MONTH, 3);
9. c.add(Calendar.DATE, 10);
10. System.out.println(c.getTime());
11. } }
And, if the program compiles, what date is represented in the output?
多选题下面关于用RMAN创建的副本数据库的说法,哪个是正确的?
多选题可以使用哪些方法来恢复已经丢失或受损的口令文件?
多选题评估这个命令:ACCEPT v_price CHAR PROMPT 'Price amount',它将完成以下哪个任务? A.它将显示变量的名和变量的值 B.它将提示用户输入价格(price)并将其存为一个数字型变量 C.它将创建一个CHAR类型的用户变量并为其赋值 D.它将以Price amount为提示信息提示用户输入并将其存为一个CHAR类型的变量
多选题Given this code in a method:
4. int x = 0;
5. int[] primes = {1,2,3,5};
6. for(int i: primes)
7. switch (i) {
8. case 1: x += i;
9. case 5: x += i;
10. default: x += i;
11. case 2: x += i;
12. }
13. System.out.println (x);
What is the result?
多选题在以下的段中,哪一个段在一个实例开启数据库时帮助初始化数据字典(该段被称为高速缓存段)? A.大对象段 B.嵌套表 C.自举段(bootstrap segment) D.临时段
多选题下列哪个不是系统容器或用户容器的有效状态(OPEN MODE)?
多选题在一个新的数据库中,如果要限制一个用户的并行会话(同时连接)数,需要使用以下哪3个步骤? A.使用SESSIONS_PER_USER参数创建一个角色 B.使用ALTER USER语句将角色赋予用户 C.使用SESSIONS_PER_USER参数创建一个概要文件 D.使用ALTER SYSTEM语句强制开启资源限制 E.使用ALTER ROLE语句将概要文件赋予一个角色 F.使用ALTER USER语句将概要文件赋予用户
多选题以下是PERSONNEL表的定义: ID NUMBER(9) LAST_NAME VARCHAR2(25) FIRST_NAME VARCHAR2(25) MANAGER_ID NUMBER(9) DEPT_ID NUMBER(9) 请看如下的SQL语句,它将返回以下的哪个结果? SELECT p.dept_id, p.first_name‖''‖p.last_name employee, c.first_name‖''‖c.last_name coworker FROM personnel p,personnel c WHERE p.dept id=c.dept_id AND p.id<>c.id; A.它将显示每一个员工(employee)的部门号、名字和他们的经理的名字 B.它将显示每一个员工的部门号、名字和他们的全部同事(coworker)的名字 C.它将显示每一个部门、每一个部门中的经理和每一个部门中的全体员工 D.它将返回语法错误
多选题在默认概要文件中,资源限制参数SESSIONS_PER_USER的初始值是什么? A.0 B.1 C.2 D.3 E.unlimited
多选题创建了一个审核策略,用于审核可能在另一个模式中创建索引的所有用户。为了高效审核这种用户操作,在CREATE AUDIT POLICY中使用哪些选项的效果最好?
多选题在使用REGISTER DATABASE命令将目标数据库注册到恢复目录数据库时,不会发生什么情况?
