--创建存储过程test
create procedure [dbo].[test] (
    @I_MTR NVARCHAR (MAX),
    @I_TYPE NVARCHAR (MAX),
    @I_FAC NVARCHAR (MAX))
    
as
BEGIN

select * from [dbo].[BAS_DOC]
                        
END    

生成的结果:

sqlserver创建存储过程返回table

 

执行存储过程:

exec test @I_MTR='1501102006972',@I_TYPE='PDF',@I_FAC='10018'

结果:

sqlserver创建存储过程返回table

相关文章:

  • 2022-12-23
  • 2018-07-11
  • 2022-01-14
  • 2022-12-23
  • 2021-06-17
  • 2021-05-26
猜你喜欢
  • 2021-07-05
  • 2021-07-17
  • 2022-12-23
  • 2021-05-11
  • 2022-02-02
  • 2021-06-05
相关资源
相似解决方案