• 2022-06-07
    创建存储过程如下: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
  • 举一反三