代码如下:

 

declare @sqlstring nvarchar(4000)
set @sqlstring=N'select @loginLogCount=count(*) from HRLoginLog'

declare @returnValue int
exec sp_executesql @sqlstring,N'@loginLogCount int output',@returnValue output
print @returnValue

 

等待更新...

相关文章:

  • 2021-11-06
  • 2021-06-18
  • 2022-12-23
  • 2021-10-08
  • 2021-11-25
  • 2021-08-11
  • 2021-12-08
猜你喜欢
  • 2021-11-27
  • 2021-12-02
  • 2022-01-19
  • 2021-12-29
  • 2022-01-28
  • 2021-05-17
  • 2021-10-22
相关资源
相似解决方案