sp_c_select
 @CustomerID int,
 
@RowCount int output
as
select @RowCount=Count(*from c 
where customerid=@CustomerID

------------------------------------------------------------
declare @Result int
exec sp_c_select @CustomerID=1@RowCount=@Result output
--或exec sp_c_select 1, @Result output
select @Result

相关文章:

  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-09-12
  • 2021-09-20
  • 2021-09-06
  • 2021-09-18
猜你喜欢
  • 2022-12-23
  • 2018-01-06
  • 2021-05-21
  • 2022-12-23
  • 2021-04-24
  • 2021-07-01
相关资源
相似解决方案