创建存储过程如下:Create proc bookproc @id int ,@title char(20) outputAs Select @title=title from book where id=@id执行该存储过程的方法正确的是( )
A、Exec bookproc 1,@title outputPrint @title;
B、exec bookproc @id=1,@title outputPrint @title;
C、declare @title char(2)Exec bookproc 1,@title outputPrint @title;
D、declare @title char(20)Exec bookproc @id=1,@title outputPrint @title
发布时间:2025-06-20 20:35:26