如何将变量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;
有如下三步操作,并且均成功执行,请选择结果() 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字段为空的记录()Aselect * from emp where comm='';Bselect * from emp where comm=null;Cselect * from emp where nvl(comm)=0;Dselect * from emp where comm is null;Eselect * from emp where nvl(comm,0)=0;
单选题在PL/SQL中定义一个可以存放雇员表(EMP)的员工名称(ENAME)的PL/SQL表类型,应该()Atype array arr_type[emp.ename%type] index by binary_integer;Btype table arr_type[emp.ename%type] index by binary_integer;Ctype arr_type is table of emp.ename%type index by binary_integer;Dtype arr_type is pl_sql table of emp.ename%type index by binary_integer;
单选题emp表是雇员信息表,以下哪个变量可以存放emp表中的一条记录()Av_record emp%type;Bv_record emp%recordtype;Cv_record emp%record_type;Dv_record emp%rowtype;Ev_record emp%row_type;
单选题列出EMP表中,从事每个工种(JOB)的员工人数()Aselect job from emp;Bselect job,count(*) from emp;Cselect distinct job,count(*) from emp;Dselect job,count(*) from emp group by job;Eselect job,sum(empno) from emp group by job;
单选题如何将变量v_row定义为emp表的记录类型()Av_row emp%type;Bv_row emp%record;Cv_row emp%tabletype;Dv_row emp%rowtype;
单选题emp表是雇员信息表,sal字段存放是的雇员的月薪,以下哪个变量可以存放sal类型的值()Av_sal emp%rowtype;Bv_sal emp.sal%type;Cv_sal emp.sal.%type;Dv_sal %type(emp.sal);Ev_sal (emp.sal)%type;
单选题查询出EMP表中1982年及以后入职的员工信息()(注:字段hiredate为入职日期,数据类型为DATE型)Aselect * from emp where hiredate='19820101';Bselect * from emp where hiredate=to_char('19820101','YYYYMMDD');Cselect * from emp where to_date(hiredate,'YYYYMMDD')='19820101';Dselect * from emp where to_char(hiredate,'YYYYMMDD')='19820101';
单选题限制从EMP表中只选出前5条记录的查语句为()。ASELECT TOP 5 * FROM EMPBSELECT DISTINCT 5 * FROM EMPCSELECT * FROM EMP WHERE ROWNUM6DSELECT * FROM EMP WHERE ROWNUM=5