OCP2021年1月21日每日一练
多选题在以下的工作中,哪一个不能使用ALTER INDEX命令来完成? A.合并一个索引的碎片 B.重建一个联机的索引 C.将一个索引移动到一个不同的表空间 D.使用RESIZE关键字改变一个现有索引的大小
进入题库练习
多选题请问SQL*Plus命令“SET LINESIZE 68”将完成以下的哪项工作? A.将每页所输出行数指定为68 B.将LONG值的最大显示宽度设置为68 C.将报告的每行设置为68个字符 D.将一个查询所返回的最大记录数设置为68
进入题库练习
多选题为了恢复数据库,需要用到以下哪一类文件(该文件存储了数据库中所做的所有修改)? A.数据文件 B.控制文件 C.重做目志文件 D.参数文件
进入题库练习
多选题见下表SERVICE,如果使用如下的SQL语句对数据库进行查询,这个语句在执行时将会失败。要如何修改语句才能纠正这一问题?SELECTmachine_id"Machine",technician_id"Technician",service_date"LastServiceDate"FROMserviceWHERE"Machine">700000ORDERBY"Technician";A.在ORDERBY子句中必须指定ASC或DESC的排序顺序B.从WHERE子句中去掉列的别名而使用真正的列名C.从ORDERBY子句中去掉列的别名而使用真正的列名D.将所有括住的列别名的双引号全部改成单引号
进入题库练习
多选题Given the proper imports, and given: 17. public void go() { 18. NumberFormat nf, nf2; 19. Number n; 20. Locale[] la = NumberFormat.getAvailableLocales(); 21. for(int x=0; x < 10; x++) { 22. nf = NumberFormat.getCurrencyInstance(la[x]); 23. System.out.println(nf.format(123.456f)); 24. } 25. nf2 = NumberFormat.getInstance(); 26. n = nf2.parse("123.456f"); 27. System.out.println(n); 28. } Given that line 20 is legal, which are true? (Choose all that apply.)
进入题库练习
多选题Given: 3. class Bonds { 4. Bonds force() {return new Bonds(); } 5. } 6. public class Covalent extends Bonds { 7. Covalent force() {return new Covalent(); } 8. public static void main(String[] args) { 9. new Covalent() .go(new Covalent()); 10. } 11. void go(Covalent c) { 12. go2(new Bonds() .force(), c.force()); 13. } 14. void go2(Bonds b, Covalent c) { 15. Covalent c2 = (Covalent)b; 16. Bonds b2 = (Bonds)c; 17. } } What is the result? (Choose all that apply.)
进入题库练习
多选题superdog数据库的初始化参数remote_login_passwordfile被设置为了EXCLUSIVE,如要确定被授予了SYSDBA或SYSOPER权限的用户,应该查询哪一个数据字典? A.V$DATABASE B.V$INSTANCE C.V$PARAMETER D.V$PWFILE_USERS
进入题库练习
多选题以下的哪个字符可以在表名中使用? A.% B.* C.@ D.#
进入题库练习
多选题Given: 2. public class Contact { 3. private String name; 4. private String city; 5. String getName() {return name; } 6. void setName(String n) {name = n; } 7. void setCity(String c) { 8. if(c == null) throw new NullPointerException(); 9. city = c; 10. } 11. String getCity() {return city; } 12. } Which are true? (Choose all that apply.)
进入题库练习
多选题使用分组函数可完成以下的哪个操作?
进入题库练习