有如下存储过程: CREATE PROCEDURE up_studentInfo() BEGIN SELECT * FROM student WHERE b
A.A.SELECT up_studentInfo;
B.B.CALL proc up_studentInfo();
C.C.CALL up_studentInfo;
D.D.SELECT up_studentInfo();
时间:2024-03-19 17:30:02
相似题目
-
Which are SRW package procedure or function could you use to create and then drop a temporary table in the sales report?()
A . SRW.BREAK
B . SRW.SET_ALTER
C . SRW.REFERENCE
D . SRW.DO_SQL
E . SRW.RUN_REPORT
F . SRW.SET_FIELD
-
You are creating the simple resource plan using the DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_PLAN procedure. Which resource allocation policy will be used for the resource plan?()
A . RATIO
B . EMPHASIS
C . ACTIVE_SESS_POOL_MTH
D . RESOURCE_DEGREE_LIMIT_ABSOLUTE
-
为了使用输出参数,需要在CREATE PROCEDURE语句中指定关键字()。
A、OPTION
B、OUTPUT
C、CHECK
D、DEFAULT
-
You want to create a temporary table while executing a procedure in a form. Which statement is true?()
A . You cannot create a table form within Forms.
B . You must use the FORMS_DDL built-in to create the table.
C . You must use the DBMS_DYNAMIC_DDL package to create the table.
D . You can write the CREATE TABLE statement directly into the trigger.
-
你正在SQL SERVER 2005 数据库中创建一个从联系人表删除联系人数据的存储过程。在存储过程中包含如下的语句来处理可能发生的任何错误。
https://assets.asklib.com/images/image2/201807271408474642.png
在你执行存储过程后发现,事务任然保持打开状态。为了正确的处理打开的事务,你应该如何修改你的存储过程?()
A . 在CATCH语句块增加 COMMIT TRANSACTION命令
B . 在TRY语句块移除COMMIT TRANSACTION命令
C . 在CATCH块增加 ROLLBACK TRANSACTION命令
D . 在TRY块增加ROLLBACK TRANSACTION命令
-
You are creating a resource consumer group using the DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP procedure. Which parameter will you use to define the resource scheduling method used between sessions within the resource group?()
A . CPU_MTH
B . NEW_CPU_MTH
C . CPU_P1
D . CPU_P2
-
When you create a network implementation VLAN solution, what is one procedure that you should include in your plan?()
A . Perform an incremental implementation of components.
B . Following the PPDIOO model, implement the entire solution and then test end-to-end to make sure that it is performing as designed.
C . Implement trunking of all VLANs to ensure that traffic is crossing the network as needed before performing any pruning of VLANs.
D . Test the solution on a segmented portion of a lab network prior to rolling out across the entire network.
-
创建一个存储过程 proc_PartAdd ,提供 PNO , PNAME , QUTY 参数,向 Part 表中插入零件记录。 Create ____(1)_____ pro_partadd 44 @pno varchar(10),@pname varchar(30),@quty int As __(2)___ into part(pno,pname,quty) values(__(3)__, @pname, @quty)
-
有如下表定义,( )插入语句是正确的。CREATE TABLE student(studentid int not null,name char(10) null,age int not null,sex char(1) not null,dis char(10))
-
建立一个存储过程的语句关键字为create。()
-
删除上面已经创建的存储过程proc_StuCour。T-SQL语句如下。
-
直接存储器访问(DMA)是一种快速传送大量数据常用的技术。工作过程大致如下所述。 1.向CPU申请DMA传
直接存储器访问(DMA)是一种快速传送大量数据常用的技术。工作过程大致如下所述。
1.向CPU申请DMA传送。
2.向CPU申请DMA控制器接管(1)的控制权。
3.在DMA控制器的控制下,在存储器和(2)之间直接进行数据传送,在传送过中不需要(3)的参与。开始时需提供要传送的数据的(4)和(5)。
4.传送结束后,向CPU返回DMA操作完成信号。
A.系统控制台
B.系统总线
C.I/O控制器
D.中央处理器
-
4、为了使用输出参数,需要在CREATE PROCEDURE语句中指定关键字()。
A.OPTION
B.OUTPUT
C.CHECK
D.DEFAULT
-
CREATE PROC为 __________一个存储过程的语句关键字,EXEC为__________ 一个存储过程的语句关键字。
-
Given the following stored procedure:CREATE PROCEDURE increase_salary (IN p_workdept CHAR
Given the following stored procedure:CREATE PROCEDURE increase_salary (IN p_workdept CHAR(6), OUT p_sum DECIMAL(9,2) ) SET p_sum = (SELECT SUM(salary) FROM employee WHERE workdept=p_workdept);How can this stored procedure be called from the Command Line Processor?()
A.CALL increase_salary(‘A00‘)
B.VALUES increase_salary(‘A00‘)
C.CALL increase_salary(‘A00‘, ?)
D.VALUES increase_salary(‘A00‘, ?)
-
Create trigger命令用于创建()。A.存储过程B.触发器C.视图D.表
Create trigger命令用于创建()。
A.存储过程
B.触发器
C.视图
D.表
-
37、如下关于存储过程叙述正确的是()。
A.存储过程即传统意义程序中的过程,可以嵌入在程序中使用
B.存储过程是一种存储在数据库中的程序,用于对数据库进行操作
C.存储过程是一种存储在数据库之外的程序,用于对数据库进行操作
D.存储过程描述数据存储到数据库的过程
-
在SQL Server2005中,创建存储过程如下,要在Students表中查找Age(年龄)是18岁的学生,()可以正确的调用这个存储过程。(选两项)
A.XEC Mypl 18
B.XEC Mypl @p = 18
C.XEC Mypl p = ‘18’
D.XEC Mypl P = 18
-
假定栈用顺序的方式存储,栈类型 stack 定义如下:请问这是栈的哪一种基本运算TYPE stack=RECORDA:ARRAY [1..m0 ]OF datatype ;t :0..m0 ;END;下面是栈的一种基本运算的实现:PROCEDURE xxxx(VAR s :stack) ;BEGINIFs.t=0THEN print(underflow)ELSEs.t:=S.t-1 ;END;()
A.栈的推入
B.栈的弹出
C.读栈项元素
D.将栈置为空栈
-
View the Exhibit and examine the steps that you executed to create a database resource plan.Subsequently, you execute the following procedure which results in an error:SQL> EXECUTE dbms_resources_manager.validate_pending_area ();What could be the reason?()
<img src='https://img2.soutiyun.com/shangxueba/ask/17133001-17136000/17135247/2c9611256b04bdd5ba39c52e4e7dd450.png' />
A. The pending area is automatically submitted after the plan creation
B. The procedure must be executed before creating the resources plan directive
C. The SYS_GROUP resource consumer group is not included in the resource plan directive
D. The OTHER_GROUPS resources consumer group is not included in the resource plan directive
-
创建存储过程语法如下,调用存储过程正确的是()。delimiter//createPROCEDUREpro_select(innum1int,outnum2int)BEGINsetnum2=num1+1;enddelimiter;
A.Callpro_select()
B.Callpro_select(1,@num2)
C.Callpro_select(1,num2)
D.Callpro_select(1)
-
有如下存储过程,下列选项中,调用正确的是()()。delimiter//createprocedureproc_addstar(instarnamevarchar(10))BEGINinsertintostarvalues(null,starname);end//delimiter;
A.callproc_addstar()
B.execproc_addstar(‘狮子座’)
C.callproc_addstar(‘狮子座’)
D.cal1proc__addstar(狮子座)
-
设有学生成绩表 score(sno,cno,grade) ,各字段含义分别是学生学号、课程号及成绩。现有如下创建 存储函数的语句:以下关于上述存储函数的叙述中,错误的是 ______。CREATE FUNCTION fun()RETURNS DECIMALBEGINDECLARE x DECIMALSELECT AVG(grade)INTO x FROM scoreRETURN x END;
A.表达式 AVG(grade) INTO x 有语法错误
B.x 是全体学生选修所有课程的平均成绩
C.fun 没有参数
D.RETURNS DECIMAL指明返回值的数据类型
-
9、在“新建查询”窗口编辑好ALTER PROCEDURE命令后,就表明该存储过程修改成功。