网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

如何将变量v_row定义为emp表的记录类型()

  • A、v_row emp%type;
  • B、v_row emp%record;
  • C、v_row emp%tabletype;
  • D、v_row emp%rowtype;

参考答案

更多 “如何将变量v_row定义为emp表的记录类型()A、v_row emp%type;B、v_row emp%record;C、v_row emp%tabletype;D、v_row emp%rowtype;” 相关考题
考题 以下删除记录正确的( )A.delete from emp where name='dony';B.Delete * from emp where name='dony';C.Drop from emp where name='dony';D.Drop * from emp where name='dony';

考题 Select emp_id,emp_name,sex,title,wage from employee order by emp_name句子得到的结果集是按()排序。A.emp_idB.emp_nameC.sexD.wage

考题 分析下面的JavaScript代码段,输出的结果是( )。emp=new Array(3);emp[0]=0;emp[1]=1;emp[2]=2;emp[3]=3;document.write(emp.length); A.2B.3C.4D.5

考题 emp表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值() A.v_sal emp%rowtype;B.v_sal emp.sal%type;C.v_sal emp.sal.%type;D.v_sal %type(emp.sal);E.v_sal (emp.sal)%type;

考题 有如下三步操作,并且均成功执行,请选择结果()delete from emp;alter table emp add(addr varchar2(40));rollback; A. emp表中数据处于回滚段中B. emp表中的数据被永久删除C. emp表中的数据没有变化D. 原来的emp表中的数据被添加到新emp表中E. 以上所述都不正确

考题 如何将变量v_row定义为emp表的记录类型() A.v_row emp%type;B.v_row emp%record;C.v_row emp%tabletype;D.v_row emp%rowtype;

考题 在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该() A.type array arr_type[emp.ename%type] index by binary_integer;B.type table arr_type[emp.ename%type] index by binary_integer;C.type arr_type is table of emp.ename%type index by binary_integer;D.type arr_type is pl_sql table of emp.ename%type index by binary_integer;

考题 列出EMP表中,从事每个工种(JOB)的员工人数() A.select job from emp;B.select job,count(*) from emp;C.select distinct job,count(*) from emp;D.select job,count(*) from emp group by job;E.select job,sum(empno) from emp group by job;

考题 在JavaScript中,下列定义数组的方法正确的是()。A、emp=newArray[3];B、emp=newArray(3);C、emp=new()array;D、emp=newArray[];

考题 在Oracle中,PL/SQL块中定义了一个带参数的游标:CURSOR emp_cursor(dnum NUMBER)IS SELECT sal,comm FROM emp WHERE deptno = dnum;那么正确打开此游标的语句是()A、OPEN emp_cursorB、OPEN emp_cursor FOR 20C、OPEN emp_cursor USING 20D、FOR emp_rec IN emp_cursor(20) LOOP … END LOOP

考题 查询出EMP表中1982年及以后入职的员工信息()(注:字段hiredate为入职日期,数据类型为DATE型)A、select * from emp where hiredate='19820101';B、select * from emp where hiredate=to_char('19820101','YYYYMMDD');C、select * from emp where to_date(hiredate,'YYYYMMDD')='19820101';D、select * from emp where to_char(hiredate,'YYYYMMDD')='19820101';

考题 在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()A、type array arr_type[emp.ename%type] index by binary_integer;B、type table arr_type[emp.ename%type] index by binary_integer;C、type arr_type is table of emp.ename%type index by binary_integer;D、type arr_type is pl_sql table of emp.ename%type index by binary_integer;

考题 检索出员工表emp中的第6条到第10条记录。显字段:emp表中的全部字段。

考题 有如下三步操作,并且均成功执行,请选择结果() delete from emp; alter table emp add(addr varchar2(40)); rollback;A、emp表中数据处于回滚段中B、emp表中的数据被永久删除C、emp表中的数据没有变化D、原来的emp表中的数据被添加到新emp表中E、以上所述都不正确

考题 授予sa用户在SCOTT.EMP表中SAL列的更新权限的语句是()。A、GRANT CHANGE ON SCOTT.EMP TO SAB、GRANT UPDATE ON SCOTT.EMP(SAL) TO SAC、GRANT UPDATE (SAL) ON SCOTT.EMP TO SAD、GRANT MODIFY ON SCOTT.EMP(SAL) TO SA

考题 下列哪个操作可以将表中的数据删除,并且不需要回滚删除后回收其所占有的空间,但表定义保留()A、DELETE FROM EMP;B、TUNCATE TABLE EMP;C、TUNCATE TABLE EMP REUSE STORAGE;D、DROP TABLE EMP;E、以上所述都不正确

考题 emp表是雇员信息表,以下哪个变量可以存放emp表中的一条记录()A、v_record emp%type;B、v_record emp%recordtype;C、v_record emp%record_type;D、v_record emp%rowtype;E、v_record emp%row_type;

考题 限制从EMP表中只选出前5条记录的查语句为()。A、SELECT TOP 5 * FROM EMPB、SELECT DISTINCT 5 * FROM EMPC、SELECT * FROM EMP WHERE ROWNUM6D、SELECT * FROM EMP WHERE ROWNUM=5

考题 列出EMP表中,从事每个工种(JOB)的员工人数()A、select job from emp;B、select job,count(*) from emp;C、select distinct job,count(*) from emp;D、select job,count(*) from emp group by job;E、select job,sum(empno) from emp group by job;

考题 单选题查询出EMP表中COMM字段为空的记录()A select * from emp where comm='';B select * from emp where comm=null;C select * from emp where nvl(comm)=0;D select * from emp where comm is null;E select * from emp where nvl(comm,0)=0;

考题 单选题在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()A type array arr_type[emp.ename%type] index by binary_integer;B type table arr_type[emp.ename%type] index by binary_integer;C type arr_type is table of emp.ename%type index by binary_integer;D type arr_type is pl_sql table of emp.ename%type index by binary_integer;

考题 单选题emp表是雇员信息表,以下哪个变量可以存放emp表中的一条记录()A v_record emp%type;B v_record emp%recordtype;C v_record emp%record_type;D v_record emp%rowtype;E v_record emp%row_type;

考题 单选题列出EMP表中,从事每个工种(JOB)的员工人数()A select job from emp;B select job,count(*) from emp;C select distinct job,count(*) from emp;D select job,count(*) from emp group by job;E select job,sum(empno) from emp group by job;

考题 单选题如何将变量v_row定义为emp表的记录类型()A v_row emp%type;B v_row emp%record;C v_row emp%tabletype;D v_row emp%rowtype;

考题 单选题emp表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值()A v_sal emp%rowtype;B v_sal emp.sal%type;C v_sal emp.sal.%type;D v_sal %type(emp.sal);E v_sal (emp.sal)%type;

考题 单选题查询出EMP表中1982年及以后入职的员工信息()(注:字段hiredate为入职日期,数据类型为DATE型)A select * from emp where hiredate='19820101';B select * from emp where hiredate=to_char('19820101','YYYYMMDD');C select * from emp where to_date(hiredate,'YYYYMMDD')='19820101';D select * from emp where to_char(hiredate,'YYYYMMDD')='19820101';

考题 单选题限制从EMP表中只选出前5条记录的查语句为()。A SELECT TOP 5 * FROM EMPB SELECT DISTINCT 5 * FROM EMPC SELECT * FROM EMP WHERE ROWNUM6D SELECT * FROM EMP WHERE ROWNUM=5