注意:此页面搜索的是所有试题
9. (单选题)
在SQL Server中,创建如下存储过程:

create proc stu_exam

@writtenExam int=null

as

if @writtenExam is null

begin

print .请输入笔试成绩及格线.

return

end

select * from student where stu_id in

(select stu_id from stu_marks

where writtenExam>@writtenExam)

GO


下列选项正确的是( )。(本题2.0分) A、 执行EXEC stu_exam语句,控制台显示所有笔试成绩及格的学生信息记录集
B、 存储过程(stu_exam)代码存在语法错误
C、 执行EXEC stu_exam语句,控制台显示“请输入笔试成绩及格线”
D、 执行EXEC stu_exam 75语句,控制台显示“请输入笔试成绩及格线”

参考答案