单项选择题
试图在Oracle生成表时遇到下列错误:ORA-00955-name is already used by existing object。下列哪个选项无法纠正这个错误?()
A.以不同的用户身份生成对象
B.删除现有同名对象
C.改变生成对象中的列名
D.更名现有同名对象
相关考题
-
单项选择题
Oracle中要生成数据库表,下列哪个选项是无效表生成的语句?()
A.create table cats(c_name varchar2(10),c_weight number,c_owner varchar2(10));
B.create table my_cats as select *from cats where owner =‘ME’;
C.create global temporary table temp_cats(c_name varchar2(10),c_weight number,c_owner varchar2(10));
D.create table 51cats as select c_name,c_weight from cats where c_weight >5; -
单项选择题
检查下列代码段中的脚本dates.sql:为了使脚本正确工作,要改变哪个方面?()
A.变量v_hiredate应变成接受DATE信息。
B.查询中的trunc()函数应删除。
C.accept命令中的prompt子句是多余的。
D.这个脚本很好。 -
单项选择题
用下列代码块回答问题:要在上述返回集的DEPTNO列中显示99,可以用下列哪个SQL语句?()
A.select p.prod_name,p.profit from (select prod_name,profit from profits order by profit desc)where rownum <=5;
B.select p.prod_name,p.profit from (select prod_name,sum(profit)from profits group by prod_name order by sum(profit)desc)subq where p.prod_name =subq.prod_name;
C.select p.prod_name,p.profit from (select prod_name,sum(profit)from profits group by prod_name order by sum(profit)desc)where rownum <=5;
D.select p.prod_name,p.profit from (select prod_name,sum(profit)from profits order by sum(profit)desc)where rownum <=5;