多项选择题
建存储过程如下:
CREATE procedure bookproc
@id int,@title char(20)OUTPUT
as
select @title=title from book where id=@id
执行该存储过程的方法正确的是()
A.exec bookproc 1,@title output print @title
B.exec bookproc @id =1,@title output print @title
C.declare @title char(20)exec bookproc 1,@title output print @title
D.declare @title char(20)exec bookproc @id =1,@title output print @title
点击查看答案&解析
相关考题
-
多项选择题
创建存储过程的片断如下:Create procedure proc_score@passed int=60,@excellent int=90AS以下()调用方式是正确的。
A.Exec proc_score
B.Exec proc_score 60,90
C.Exec proc_score @passed=65,@excellent=95
D.Exec proc_score @passed=65 -
多项选择题
执行时,会在()出现错误。
A.第一行
B.第三行
C.第四行
D.第五行 -
单项选择题
SQLSever 2005中数据库中,关键字()标志着批处理的结束。
A.END
B.GO
C.FINISH
D.PRINT